User Controls and Session

  • Thread starter Thread starter ad
  • Start date Start date
A

ad

I am using the UserControls of VS2005 to verify user login, and I use
Session to cache some user's data.
Will the session data will be clean when user logout then login
immediately?
 
Hi,

if user doesn't close browser window, and you don't explicitly
call.Session.Abandon in logout logic, then the session data isn't
necessarily cleared. If you do call Session.Abandon, then it certainly is
cleared for the next request.
 

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