Home | Advertising Info64 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, October 21, 2016  

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

Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds

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


Subject: Re: How do I Execute an asp script every 4 or 6 hours?
From: Gautam Sharma
Date: 3/22/2000 2:59:37 PM


Setup an application variable called "timeLastRun" in the Application_OnStart event of your global.asa file.

Sub Application_OnStart
End sub

Then, in the session_onstart event do this:

Sub Session_OnStart
If Datediff("h",now(),application("timeLastRun")) > 4 Then Assuming 4 hr interval
Run Script Here
application("timeLastRun") = now()
End If
End Sub

Previous Message


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2016 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 programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets 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