Thanx for your reply
1]I have only one expression in my session_onend event
server.execute("page.aspx")
2] i have sesion variable
3] i am using Inproc
now the problem is if user log off from site by lcosing
the browser window the session_onend event doesn't work.
its working if i execute session.abondan or somthing like
that but it doesn't execute say after automatically after
20 min when user close down the browser
I hope you you understand what i am trying to do.
i just want to track down the user
if it is conncted to site i want to show him online other
wise offline
but if user close down the browser .......
can u help in that
-----Original Message-----
Well...can you post the code you're using? That might help....
The Session_End will only NOT fire (as I found out the hard way) if:
1) There is an error in that section of code (it quietly exits instead of
raising error messages)
2) Nothing is stored in the Session
3) You are not using 'InProc' in your sessionstate (in the web.config file).
If you're using Visual Studio, you can set a breakpoint on that section of
code and debug your app -- make sure that your session timeout value (also
in your web.config file) is set to some ridiculously low number (like 1 for
1 minute versus the 20 for 20 minutes that it defaults to)...
.