What method do you use to explicitly kill a users session? - preCharge Forums
It shows that you are unregistered. Please register with us by clicking Here
preCharge Forums


Nav Green LeftNav Right
preCharge Forums > Website Design & Development > Programming > .NET » What method do you use to explicitly kill a users session?


Reply
Tcat Right
 
LinkBack Thread Tools Display Modes Tcat Right
Old 07-26-2006   #1 (permalink)
agaba175
Banned User
 
Join Date: Jul 2006
Location: India
Age: 30
Posts: 105
Default What method do you use to explicitly kill a users session?

or how to terminate a session?
agaba175 is offline   Reply With Quote


Old 07-26-2006   #2 (permalink)
Francisjr
Member
 
Join Date: Jul 2006
Age: 28
Posts: 61
Default Re: What method do you use to explicitly kill a users session?

You can not terminate another Users Session in a clean way ...

What you can do is keep the list of all the session in a Hashtable or some thing similiar by UserId in Application level variable , to which you add each session object every time a new session is created. Be sure to delete the object from you collection once the Session expires. As you can see it is not recommended and can become messy if you don't clean up the objects from your list.

Once you have that list you can get to desired Session object and call Session.Abandon method on it .
Francisjr is offline   Reply With Quote

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
TO Trys to kill himself rsxgamer All Things General 12 09-30-2006 05:14 AM
ASP Session Issue alejandro ASP 0 07-02-2006 08:19 AM
Kill Bush Volume 1, 2 3 And 4! Rose Graphics & Multimedia 9 10-13-2005 04:19 PM
Kill Bill Vector Outlaw Graphics & Multimedia 6 09-25-2005 05:27 AM
Kill Bill Render Psycho5050 Graphics & Multimedia 5 04-28-2005 06:40 AM


footer left
All times are GMT. The time now is 08:39 PM.

DISCLAIMER: preCharge Risk Management is not responsible for any opinions, advice or comments expressed on the preCharge Community Forums.
preCharge® is a registered trademark of preCharge Risk Management | chargeback protection | Merchant Account Blog

Powered by vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0 RC6

Online Loans | Cadillac | Charity | Credit Cards | Credit Report

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49