talktome_prashanth
asked on
How many people online?
Hi,
Is there any way to display how many people are online at the bottom of the page.
The pages are asp and uses vb script.
Thank You,
prashanth
Is there any way to display how many people are online at the bottom of the page.
The pages are asp and uses vb script.
Thank You,
prashanth
ASKER
No,
i just need to see the number of people who are viewing the pages.
Thank You,
Prashanth
i just need to see the number of people who are viewing the pages.
Thank You,
Prashanth
Hi
http://usersonline.romazom.com - sounds like what you are looking for.
There are many such solutions in PHP - but not really in ASP.
Hope that helps,
Benjamin
http://usersonline.romazom.com - sounds like what you are looking for.
There are many such solutions in PHP - but not really in ASP.
Hope that helps,
Benjamin
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi
In asp classic you can use this:
global.asa :
<script language="vbscript" runat="server">
Sub Application_OnStart
Application("visitors")=0
End Sub
Sub Session_OnStart
Application.Lock
Application("visitors")=Ap plication( "visitors" )+1
Application.UnLock
End Sub
Sub Session_OnEnd
Application.Lock
Application("visitors")=Ap plication( "visitors" )-1
Application.UnLock
End Sub
</script>
index.asp:
<html>
<head></head>
<body>
<p>
There are <%response.write(Applicati on("visito rs"))%>
online now!
</p>
</body></html>
Good luck
In asp classic you can use this:
global.asa :
<script language="vbscript" runat="server">
Sub Application_OnStart
Application("visitors")=0
End Sub
Sub Session_OnStart
Application.Lock
Application("visitors")=Ap
Application.UnLock
End Sub
Sub Session_OnEnd
Application.Lock
Application("visitors")=Ap
Application.UnLock
End Sub
</script>
index.asp:
<html>
<head></head>
<body>
<p>
There are <%response.write(Applicati
online now!
</p>
</body></html>
Good luck
If so, set a session variable and increment it in Global.asa file inside Session_Start