Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: RE: FLASH: Javascript or CGI or ASP??? That's the question...
From: rod
Date: Fri, 10 Dec 1999 17:19:38 GMT

One way is to use asp and its session object (cookies will need to be
enabled)

Use the Session_OnStart & the Session_OnEnd events in the Global.asa file

Put this code in Global.asa

Sub Application_OnStart
application("TheNumberOfPeopleInMySite") = 0
End Sub

Sub Session_OnStart //Runs the first time a user runs any page in your
application
application("TheNumberOfPeopleInMySite") =
application("TheNumberOfPeopleInMySite") + 1
End Sub

Sub Session_OnEnd
application("TheNumberOfPeopleInMySite") =
application("TheNumberOfPeopleInMySite") - 1
End Sub

In Your ASP page reference the Variable like this
:
:
<P>There are <% = application("TheNumberOfPeopleInMySite") %> people here
with you </P>

:
:

hope this helps

rod
> -----Original Message-----
> From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Rafael
> Faria
> Sent: 09 December 1999 12:57
> To: flasheratchinwag [dot] com
> Subject: FLASH: Javascript or CGI or ASP??? That's the question...
>
>
> Please..
> someone help me....
>
> someone know how i can do some script that identify how many
> people are in
> the site in this moment?!
>
> Can someone help me?
>
>
>
> ---
>
> Rafael Raynaud de Faria Cardoso - rafaelatflashworld [dot] com [dot] br
> Flash World MMUG Leader - Grupo de Usu�rios Macromedia
> Coordenador Geral da Flash World - Professional Resources
> http://www.flashworld.com.br/
>
> -
> Estamos participando do IBEST 2000!
> Vote nessa voc� tamb�m! - http://www.ibest.com.br



flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  FLASH: Javascript or CGI or ASP??? That', Rafael Faria

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]