How to terminate a Session in Global.asax?

  • Thread starter Thread starter Denon
  • Start date Start date
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
 
HttpSessionState.Abandon cancels the current session, but I'd rather use the
standard session management (HttpSessionState.Timeout).

Regards
Ilia
 
Back
Top