Question
Listing of online users
Hi all,
I have been asked to produce a page (using asp - prefereably javascript, but VBScript will suffice) that shows details of all users currently logged into our website. These details should include, amongst other things, their login time and values stored in session variables, such as their full name and company name. Details on the page should be updated at intervals of 1 minute and/or each time the page is refreshed.
I'm not entirely sure how to go about retrieving the information from the server. I can retrieve the SessionID for the currently logged-in user, but how do I build a list of all logged-in users and associate other session variables with their SessionID? Is this the right approach or is there an easier way that doesn't involve re-inventing the wheel?
Any help appreciated.
Regards,
Ben.
I have been asked to produce a page (using asp - prefereably javascript, but VBScript will suffice) that shows details of all users currently logged into our website. These details should include, amongst other things, their login time and values stored in session variables, such as their full name and company name. Details on the page should be updated at intervals of 1 minute and/or each time the page is refreshed.
I'm not entirely sure how to go about retrieving the information from the server. I can retrieve the SessionID for the currently logged-in user, but how do I build a list of all logged-in users and associate other session variables with their SessionID? Is this the right approach or is there an easier way that doesn't involve re-inventing the wheel?
Any help appreciated.
Regards,
Ben.
