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
 

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

Back
Top