User Controls and Session

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?
 
T

Teemu Keiski

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

Members online

Forum statistics

Threads
473,780
Messages
2,569,611
Members
45,276
Latest member
Sawatmakal

Latest Threads

Top