Re: end session when the browser window is closed.
Tech-Archive recommends: Fix windows errors by optimizing your registry
Consider using HttpResponse.IsClientConnected property.
Eliyahu
"sun" <sun@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:5E6B52AE-BD80-4C84-8E72-E351A2AFBDB0@xxxxxxxxxxxxxxxx
> I want to do clean up routine to my database when the browser is closed.
I
> have my code in session-end - but it never fires when the browser closes.
I
> cant do onbeforeunload as it will be fired each time when the browser
posts
> back.
> Somehow I want to capture browser close event and fire session abandon
which
> will call session end. Please help.
> Thanks,
> Sun
.
Relevant Pages
- Re: Store form values in session
... > that can be adjusted in the browser. ... Printing $_SESSION content show me post data is not available in session ... Maybe storing these vars in a database could solve this issue, ... (alt.php) - Re: ASP sessionstate
... ASP doesn't know or care what browser it ... ticket number given when the first item is added to the cart. ... How can a Response.Write write to the server screen? ... :> delete the cart file and set the session ... (microsoft.public.inetserver.asp.general) - "Compaq Web Agent" management session can be re-used without the need to perform authentic
... destructive actions (as server reboot). ... Compaq Web Agent Service 6.0.0.0 using Compaq HTTP Server 5.1.0 on ... servers via a secured HTTP session from a browser client, ... via a legitimate authenticated SSL session - if he closes the session by ... (Bugtraq) - Re: Attempt to de-mystify AJAX
... >>maintaining a session via URL is not a problem. ... >> around cookies and JS, but it seems to be tough. ... >> as needed back to the server. ... but as I mentioned before - a non-dynamic request by the browser can ... (comp.databases.pick) - Re: Problem with a session
... Your first posting was a bit vague, but now I understand your problem. ... the POSTDATA and sets againg the session variable to true and anyone ... This IS a real problem, and you cannot 100% solve it. ... try to tell the browser NOT to chache it. ... (comp.lang.php) |
|