Session_end dosent work!

M

Metallica

Hi for you all,

I´m trying to make some actions when the user close the browser or log out
from my apllication, but this event do not work anyway!!!

I already have put in my webconfig <sessionState mode="InProc" timeout="40"
/>

but the session_end event dont work...i really dont know what can i do to
this work.....

helppp!!

Ricardo!
 
S

Steve C. Orr [MVP, MCSD]

The session_end event is normally called after the server has not gotten any
page requests from the user for 20 minutes (default, configurable in your
web.config).
The Session_End won't fire in a few circumstances, such as when you
end the session prematurely (i.e. pressing the stop button in VS.NET) or if
you aren't using the standard InProc sessions.

Here's more details for you:
http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=7504
 

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

Similar Threads


Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,226
Members
46,815
Latest member
treekmostly22

Latest Threads

Top