Sign in | Join
Last post 05-13-2008 3:14 PM by Letícia. 2 replies.
Sort Posts: Oldest to newest Newest to oldest
Hello everyone,
I'd like to know how do I do to finalize all sessions of all users, via software. I researched and found Session.abandon, but it seems to close all the sessions of the current user only.
Is there any way to do what I want?
I think the only way to do this is to reset the asp.net application. The following line of code will do this for you, but be aware that it might have some other consequences that you don't want such as losing any application and cache variables:
HttpRuntime.UnloadAppDomain();
Thanks