Application - Visitors

Results 1 to 2 of 2

Thread: Application - Visitors

  1. #1
    Join Date
    Dec 1969

    Default Application - Visitors

    Hello. I stumbled upon an old file of mine just today, it is global.asa and has the code for showing how much people are online. Here&#039;s the code:<BR><BR>&#060;script language="vbscript" runat="server"&#062;<BR>Sub Application_OnStart<BR>Application("visitors")=0<B R>End Sub<BR>Sub Session_OnStart<BR>Application.Lock<BR>Application ("visitors")=Application("visitors")+1<BR>Applicat ion.UnLock<BR>End Sub<BR>Sub Session_OnEnd<BR>Application.Lock<BR>Application(" visitors")=Application("visitors")-1<BR>Application.UnLock<BR>End Sub<BR>&#060;/script&#062;<BR><BR>Now what do I write so I can output the number for that code? Sorry..this code is so old and I am not sure how to work it anymore.

  2. #2
    Join Date
    Dec 1969
    Los Angeles, CA

    Default RE: Application - Visitors

    Response.write Application("visitors")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts