Results 1 to 2 of 2

Thread: Users

  1. #1
    Nigel Taylor Guest

    Default Users

    I have heard that in asp you can return the number of people there are on my web site. Is this possiable and how can it be done.<BR><BR>

  2. #2
    Nils Bilhorn Guest

    Default RE: Users

    Yes, you can tremendous functionality.<BR><BR> In the global.asa file you need to add in the subs session_Onstart add<BR><BR>Application("visitors") = Application("visitors") + 1 <BR><BR>and in Sub Session_OnEnd <BR><BR>Application("visitors") = Application("visitors") - 1 <BR><BR>and in Sub Application_OnStart <BR><BR> Application("visitors") = 0 <BR><BR>Whenever needed use &#060;%=Application("visitors")%&#062; yto show this value.<BR>

Posting Permissions

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