Anonymous Profiles ?

S

Sagaert Johan

Hi

I would like to know where Anonymous Profiles are stored, are the stored on
the sql server or can the storage be in a cookie ?

Correct me if i am wrong but i think Anonymous Profiles are the only way to
use strongly typed variableles to use in a session.
For now i put my variables in a session object and cast them back into the
class on postback.

Johan
 
R

Robbe Morris - [MVP] C#

Huh? You don't need Anonymous Profiles to store certain
objects in session. The two are not related.

I would think long and hard about whether you "have"
to store complex types in session or whether you just
think you "want" to. If it can be avoided without much
hassle, you are better off doing so. This, of course, is
based largely on expected volume of traffic and available
server memory. If neither are a concern, then do whatever
you want. If either could be a future concern, then give
some consideration to using a wrapper class to access your
simple/value types stored in session.

--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web apps
without IT programmers.
Free download: http://www.equalssolved.com/default.aspx
 
S

Sagaert Johan

ok i was a bit confused and i tought that a could save profile data into a
session variable instead of in and sql db .

I stick to using the session object to store my temporary (web cart )data .

Robbe Morris - [MVP] C# said:
Huh? You don't need Anonymous Profiles to store certain
objects in session. The two are not related.

I would think long and hard about whether you "have"
to store complex types in session or whether you just
think you "want" to. If it can be avoided without much
hassle, you are better off doing so. This, of course, is
based largely on expected volume of traffic and available
server memory. If neither are a concern, then do whatever
you want. If either could be a future concern, then give
some consideration to using a wrapper class to access your
simple/value types stored in session.

--
Robbe Morris [Microsoft MVP - Visual C#]
AdvancedXL Server, Designer, and Data Analyzer
Convert cell ranges in Excel to rule driven web apps
without IT programmers.
Free download: http://www.equalssolved.com/default.aspx




Sagaert Johan said:
Hi

I would like to know where Anonymous Profiles are stored, are the stored
on the sql server or can the storage be in a cookie ?

Correct me if i am wrong but i think Anonymous Profiles are the only way
to use strongly typed variableles to use in a session.
For now i put my variables in a session object and cast them back into
the class on postback.

Johan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top