Re: close the browser

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24 June 2014 18:44, hadi <almarzuki2011@xxxxxxxxxxx> 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/

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux