callico wrote:Is there a way to do this
Nope. HTTP is a stateless protocol; ignoring the performance-enhancement "KeepAlive," a user makes a request to your server to download a page and then severs the connection. Your webserver isn't aware who is "online" or not, so you'll have to keep track of this yourself, e.g. keeping a database of "last hits" for users, and removing users who haven't retrieved a page within xx minutes.