[Javascript] Grab close window call

Alan Easton alaneaston666 at hotmail.com
Tue Apr 1 09:56:03 CDT 2008


Thanks Hassan and Tedd,
 
You are both right. I am going to run a script on the half hour, to check for expired sessions, and then force the flag to be set how I want, as like you say, some browsers do not support certain JS calls.
 
Thanks again,
 
Alan...> Date: Tue, 1 Apr 2008 07:21:31 -0700> From: hassan at webtuitive.com> To: javascript at lists.evolt.org> Subject: Re: [Javascript] Grab close window call> > Alan Easton wrote:> > > And it is of no concern to the user how I record it in the DB, but I > > will make an ajax call at that point.> > though -- belt and suspenders -- you probably want to also do the> previously recommended:> > 3. Do a periodic time check in your dB for unclosed sessions and set> them accordingly.> > :: as you can't be sure that the user's browser supports "unload" or> "beforeunload" -- Safari (current version) doesn't seem to...> > FWIW,> -- > Hassan Schroeder ----------------------------- hassan at webtuitive.com> Webtuitive Design === (+1) 408-621-3445 === http://webtuitive.com> > dream. code.> _______________________________________________> Javascript mailing list> Javascript at lists.evolt.org> http://lists.evolt.org/mailman/listinfo/javascript
_________________________________________________________________
Amazing prizes every hour with Live Search Big Snap
http://www.bigsnapsearch.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.evolt.org/pipermail/javascript/attachments/20080401/4a95ea43/attachment.htm>


More information about the Javascript mailing list