Re: display online users using asp
- From: "mallyonline" <malcolmkwhyte@xxxxxxxxxxxxxx>
- Date: Sat, 4 Jun 2005 11:06:20 +0000 (UTC)
Sorry cancel that
i found this
<%
'Write the amount of active visitors
Response.Write(Application("strVisitors"))
%>
and this =global.asa
<%@ LANGUAGE="VBscrip" %>
Sub Application_OnStart
Application("CurrentUsers")=0
End Sub
Sub Application_OnEnd
End Sub
Sub Session_OnStart
Session.Timeout=25
Session(Start")=Now
Application.Lock
Application("CurrentUsers ")
=Application("CurrentUsers")+1
Application.unlock
End Sub
Sub Session_OnEnd
Application.Lock
Application("CurrentUsers ")=Application("CurrentUsers ")-1
Application.Unlock
End Sub
</SCRIPT>
Problem with this is i already use the global.asa file and to overrite it
with this code will make the database results wizard fail???
as i found out to my detriment this morning..
how can i fix this now?? if i replace the global.asa file with that of the
original used for displaying the database results, then the script above
will no longer work grrr how do i get round this one....
"mallyonline" <malcolmkwhyte@xxxxxxxxxxxxxx> wrote in message
news:d7rrfb$78m$1@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> can anyone help with the code for this ?
>
> i would like to display the current users viewing a page
>
> thank you
> malcolm
>
.
- Follow-Ups:
- Re: display online users using asp
- From: McKirahan
- Re: display online users using asp
- References:
- display online users using asp
- From: mallyonline
- display online users using asp
- Prev by Date: display online users using asp
- Next by Date: Re: display online users using asp
- Previous by thread: display online users using asp
- Next by thread: Re: display online users using asp
- Index(es):
Relevant Pages
|