Home | Advertising Info86 USERS CURRENTLY ONLINE   
   Site Search Contact Us Monday, April 27, 2015  

User Management Application with web based screens that allow you to manage users.
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.

Try a free httpZip trial now and compress for less!

We didn't realize
the site was so popular.

Other Stuff

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds

(Advanced)  (Components)  (Database)  (General)  (Vbscript)


Subject: Session Questions
From: Anonymous
Date: 9/16/1999 5:26:27 PM


I am setting up my site to tell me the active the session on my website. I am using the following code:

Sub Application_OnStart
Application("intUserCount") = 0
End Sub

Sub Session_OnStart
Application("intUserCount") = Application("intUserCount") + 1
End Sub

Sub Session_OnEnd
Application("intUserCount") = Application("intUserCount") - 1
if Application("intUserCount") < 0 then
Application("intUserCount") = 0
end if
End Sub

Is this sufficient? Any glaring problems with it?

Also, Is there a way to read the total number of sessions with a particular value?

Example: If I assign session("currBrowser") = xxx in each persons session, can I access the total number of people with session("currBrowser") values of "IE"?

Thanks for any information!


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2015 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages asp source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com