session_end question

  • Thread starter Thread starter Vincent
  • Start date Start date
V

Vincent

hello there,
I want to find out if I close a browser, does that end a
session? I want to use a session variable to track the
number of user of my site, so I add 1 to a session
variable when the "session_start", and minus 1
when "session_end".
The session_start is fine, but the session_end never kick
in.

Thanks in advance.
Vincent.
 
If you close the browser the session_end will be called when the session
times out. This is normally set in the IIS IDE.
 
So even the browser is closed, the session doesn't time
out. It will wait until the time out that set in IIS.
Am I correct?
 
Back
Top