How to terminate a Session in Global.asax?

D

Denon

How to terminate a Session in Global.asax?
1)In Global.asax, I have store every sessionID into a global array
2) I have start a timer while application_start event, this timer lookup
something
3) For some time limit running out, then timer trigger want to kill the
session by specified sessionID.

How to implement 3)?

Thanks for any advices

Regards
Den
 
I

Ilia

HttpSessionState.Abandon cancels the current session, but I'd rather use the
standard session management (HttpSessionState.Timeout).

Regards
Ilia
 

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,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top