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: | Chris Tifer |
| Date: | Fri, 10 Dec 1999 16:51:55 GMT |
Hope all you flashers don't mind that I post this answer to this list....
You could do this rather easily with ASP. By checking whenever a session
starts, you can add 1 to an application level variable. Then, whenever a
session ends (which will most likely be off by whatever you set as your
session timeout) just subtract 1 from the application cookie... Something
like this will help you.
Sub Application_OnStart
Application("CurrentVisitors") = 0
End Sub
Sub Session_OnStart
Application("CurrentVisitors") = Application("CurrentVisitors") + 1
End Sub
Sub Session_OnEnd
Application("CurrentVisitors") = Application("CurrentVisitors") - 1
End Sub
Of course, this is just a very, very basic way of doing this as you could
get more elaborate, but I hope that helps you figure this one out. Oh yeah,
I forgot to mention that this should go in your global.asa.
Chris Tifer
-----Original Message-----
From: Rafael Faria [rafael
Sent: Thursday, December 09, 1999 7:57 AM
To: flasher
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 - rafael
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 help
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]

