if you include the Common.asp file from the root forum folder and
'If active users is enabled update the active users application array If blnActiveUsers Then 'Call active users function saryActiveUsers = activeUsers("text (eg Viewing:)","Page Name (used as link for page address), "Page Address", 0) End If |
then 0 is for the "forum id" but isnt really needed OFF the forum, so keep it to 0
just put that at the top of every page and it'll update in active users list
as you've included the "common.asp" file you'll need to put this at the end of the page:
'Clean up Call closeDatabase()
|
this closes the connections to the database, if you dont connect to the database on pages, put it after setting the page for active users