Why SESSION variables fail if browser cookies OFF ?

  • Thread starter Thread starter Doug Bell
  • Start date Start date
D

Doug Bell

session("<label>") fails
if the browser's Privacy setting has cookies off.

What's going on?
 
Because the sessionid is stored in a session cookie on the client. If
cookies are turned off, then this sessionid cannot be stored - and as far as
the server is concerned, it always looks like a new session, since it never
gets the sessionid it assigned previously.
 
How is this solved in .NET

----- Marina wrote: ----

Because the sessionid is stored in a session cookie on the client. I
cookies are turned off, then this sessionid cannot be stored - and as far a
the server is concerned, it always looks like a new session, since it neve
gets the sessionid it assigned previously
 
Back
Top