Jump to content

Archived

This topic is now archived and is closed to further replies.

garysenter

list of current sessions

Recommended Posts

How do I get a list of all current sessions? This would act as a list of members that are currently logged in. Please help

Share this post


Link to post
Share on other sites
I don't believe you can just obtain a list of all sessions accessing a page. You have to store each session, via a script each user runs while accessing a page, in a database, or a .txt file. MySQL would be a good start.

Share this post


Link to post
Share on other sites
I have one im MySQL, it adds users when they log in(session created), however, if a user does not log off(session exit) they are never removed from the table. I have seen on several sites that they have some way of calculating how many users are currently on. I would like something like that.

Share this post


Link to post
Share on other sites
Might look here

[a href=\"http://www.sim-php.info/users-online-script.php\" target=\"_blank\"]http://www.sim-php.info/users-online-script.php[/a]

Lite...

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.