Page 1 of 1

how to check if user is on the website

Posted: Tue May 23, 2006 11:08 pm
by Milan
I have a user profile page where i would like to display if user is on the website or not.
I know i have to check for session ID but i still have no concept how to incorporate this.

Anyone with a suggestion?

thanks!

Posted: Tue May 23, 2006 11:57 pm
by Burrito
without incorporating something like ajax, the only way to make this determination is by the last time they hit a page.

that's why most systems that do this (phpBB being one of them) report users within the last x minutes.