Home | Advertising Info152 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, November 01, 2014  
 
 


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



DISCUSSION ARCHIVES
 
Try a free httpZip trial now and compress for less!


We didn't realize
the site was so popular.

Other Stuff
 

 
 
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds



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




ASPProtect

 
Subject: Global.asa location ?
From: web@rt
Date: 1/10/2000 2:44:23 PM
IP: 195.95.32.146



 

Hi,

Im using PWS 4 and I want to keep some visitors-statistics using the Application and Sesion objects in global.asa

Trouble is that it not seems to be working

Is there a special location that this has to be or can it be another dir than the root ?

Thnx in adv

I give you my code here (its basic-code) :

<script language="VBScript" runat="server">
Const ForWriting = 2, ForReading = 1

Sub Application_Start
Application.Lock
Application("totalvisits") = 0
Application("active") = 0
Application.Unlock
End Sub

Sub Application_End
End Sub

Sub Session_Start
Application.Lock
Application("totalvisits") = Application("totalvisits") + 1
Application("active") = Application("active") + 1
Application.Unlock
Session("start") = Time
End Sub

Sub Session_End
Application.Lock
Application("active") = Application("active") - 1
Application.Unlock
End Sub
</script>

Follow Up - Re: Global.asa location ? - Denis 3/13/2000 3:18:26 PM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2014 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 ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET 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