Il Sun, 04 Aug 2013 13:32:55 +0430, Farzan Dalaee ha scritto:
> hi i want to write online user module for my site and i want to check
> $_SESSION['userID'] to find all users id who loged in but when i echo
> this code its return only current user detail how i can see all
> sessions?
You can't.
>
On 04 Aug 2013 at 11:28, Ashley Sheridan wrote:
> Like Matijn said, unless you're using some kind of client-side method to
> continually poll the server, you can't know if they've just closed their
> browser. There are Javascript events for exiting a page, but they don't
> work correctly on Safa
Il Sun, 04 Aug 2013 20:47:37 +0430, Farzan Dalaee ha scritto:
Please use better quoting.
> So best way is use a script(javascript) to send ajax to server every 5
> second to check users is logged in or not? Is that okey?
It depends.
> I want to write chat module like facebook and i need a solut
On Sun, 2013-08-04 at 13:27 +0100, Tim Streater wrote:
> On 04 Aug 2013 at 11:28, Ashley Sheridan wrote:
>
> > Like Matijn said, unless you're using some kind of client-side method to
> > continually poll the server, you can't know if they've just closed their
> > browser. There are Javascript
4 matches
Mail list logo