Re: close the browser
| From: | Stuart Dallas | Date: | Tue, 24 Jun 2014 18:12:03 +0000 |
| Subject: | Re: close the browser | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-323539@lists.php.net to get a copy of this message | ||
On 24 June 2014 18:44, hadi <almarzuki2011@hotmail.com> wrote:
> > Using a timeout rather than trying to detect when the user closes their
> > browser is preferable primarily due to the unreliability of that
> detection.
>
> I can't use time out. What if the user want to stay online more time ?
That's why you have the page that must remain open and is requesting a page
on the server every 30 seconds - that's what's keeping the session alive.
This should be implemented at the network level so I encourage you to
investigate what's possible there.
-Stuart
--
Stuart Dallas
3ft9 Ltd
http://3ft9.com/