Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2005-11-03 : 04:02:45
|
hihow can i tell how many users are browsing my site (site wide) at any point in time ?Afrika |
|
Kristen
Test
22859 Posts |
Posted - 2005-11-03 : 08:38:14
|
ASP? Increment a global counter in the "Start" event in GLOBAL.ASA, and decrement it in the "End" event?I can't remember the event names - "On_Start()" and "On_Stop()" maybe?Kristen |
|
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2005-11-03 : 13:56:37
|
Oh application objects in the global.asa filefunny i had it in my script library and frontpage does an excellent job for you<SCRIPT LANGUAGE="VBScript" RUNAT="Server">Sub Session_onStart()Application("NumOfVisitors") = Application("NumOfVisitors") + 1End SubSub Session_onEnd()Application("NumOfVisitors") = Application("NumOfVisitors") - 1End Sub</SCRIPT> |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-11-04 : 03:38:04
|
Kris, are you also a good Client side programmer?MadhivananFailing to plan is Planning to fail |
|
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2005-11-04 : 05:47:15
|
Ok i finally got it to work.I used application object to check the global usage and the restricted the session and cookies in my global.asa file for client usageAfrika |
|
|
Kristen
Test
22859 Posts |
Posted - 2005-11-06 : 08:34:38
|
"Kris, are you also a good Client side programmer?"Dunno about good. We wrote our own "Application Environment". That's pretty cool IMHO, as w try to autoMagically generate the 80% of the easy stuff, just leaving the 20% to actually code by hand.Still takes too long though ...Kristen |
|
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2005-11-06 : 10:11:42
|
quote: Originally posted by Kristen "Kris, are you also a good Client side programmer?"Dunno about good. We wrote our own "Application Environment". That's pretty cool IMHO, as w try to autoMagically generate the 80% of the easy stuff, just leaving the 20% to actually code by hand.Still takes too long though ...Kristen
I remember you talking about this in an earlier thread either last year or early this year |
|
|
|
|
|