Click here to Skip to main content
15,892,059 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hi guys.
Is the Session_End event of the global.asax file fires for each and every session that gets expired?
Thanks in advance.
Posted

Yes.

The Session_End event doesn't fire when the browser is closed, it fires when the server hasn't gotten a request from the user in a specific time period(by default 20 minutes). Manually you can call Session.Abandon() to call the event immediately.
 
Share this answer
 
Yes. Session_End event in global.asax fire for every user (after 20 MIN you can change this time in web.config)

this event call for every user cause every user has it's own session.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900