Last post Jul 22, 2011 06:58 AM by Nasser Malik
Jul 21, 2011 11:59 AM|sandip_ray63in|LINK
Currently we have implemented a custom cookie based session state provide for Oracle DB. By default the session cookie name is ASP.NET_SessionID. Now everything is working fine except that when some one has logged into the application with some user
name and then again logs into the application (by opeing some new window) with some other user name , the session objects set for the 1st user name is also reflected in the session object of the 2nd user name.How to handle this scenario?
Jul 21, 2011 12:21 PM|princeG|LINK
You can use like
Jul 21, 2011 03:01 PM|Nasser Malik|LINK
asp.net_sessionID will remain same till the you close the application .. clear your browser history ..
you can use Session.Add("UserSession", System.Guid.NewGuid()) at time of signing in
and at sign.out clear session by Session.Remove("UserSession");
hope it will work
better to you use
Jul 22, 2011 02:35 AM|sandip_ray63in|LINK
All these suggestion are fine but can the session be made application cum user name specific i.e session per application per user name?
Jul 22, 2011 06:58 AM|Nasser Malik|LINK
sorry cann't get you..plz explain
--> dont use sessionID as user session instead use Guid.NewGuid() for session and on sign out clear the session .. hope it will work for you