Expire Sessions via Session Id in ASP.Net C#?
-
I have an array includes list of users session id. I wanna expire all of them. Is it possible in ASP.Net (c#), if so, how ? else, how can I do it with C#? Thanks in advanced
-
I have an array includes list of users session id. I wanna expire all of them. Is it possible in ASP.Net (c#), if so, how ? else, how can I do it with C#? Thanks in advanced
Try
Session.Abandon();
This should destroy data related to the session. BTW, this is the C# forum. Try posting in the ASP.Net forum next time onwards....you have better chances of getting a propert answer.Build your own survey - http://www.factile.net
-
Try
Session.Abandon();
This should destroy data related to the session. BTW, this is the C# forum. Try posting in the ASP.Net forum next time onwards....you have better chances of getting a propert answer.Build your own survey - http://www.factile.net
Well, Because I guess, it couldn't done in ASP.Net, I've written it in C# forum. AFAIK
Session.Abandon();
expire current session ! I wanna expire a session with session id -
I have an array includes list of users session id. I wanna expire all of them. Is it possible in ASP.Net (c#), if so, how ? else, how can I do it with C#? Thanks in advanced
If I were doing this, I would use SessionIdManager[^] as a base. Basically, I would inherit from this and implement my own session management.
*pre-emptive celebratory nipple tassle jiggle* - Sean Ewington
"Mind bleach! Send me mind bleach!" - Nagy Vilmos
CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier