spacer free cgi script archive logo
Home Downloads Show Detail Live Chat Site Map See in Action Save Cart Search Email Help Print spacer
spacer
spacer > Home > Free Cgi Scripts  > About Us  > Contact  > FAQ

CGI Scripts that are Very Secure, Reliable & Free! 

spacer
spacer spacer spacer spacer spacer spacer spacer spacer spacer
 
spacer
column heading image
spacer
 
orange bullet

Premium Scripts

-AllAffiliatePro
-CosmicDirectories
-CosmicContacts
-CosmicEmailer
-CosmicTells
-BannerClick
-AffiliateClick
-AdSpaceSeller
spacer
orange bullet

Webmasters

-Server setup tips
-Web design guide
-RSS & Blog guide
-Useful Tools
-Tips and Tricks
-Message Board
-Spam Board
-Techie Board
-Make Money
-Free Web Space
-Free Content
-Start a Website
-Contribute
-Distributor program
-Link partners
spacer
orange bullet

Programming

-Our guide to CGI & Perl
-CGI/Perl
-Java
-JavaScript
-HTML
-C/C++
-Visual Basic
-Programming Forums
spacer
 
   

Timeout.pm - Script Control for IIS

Although IIS does have setting to control the lifetime of CGI scripts, it doesn't always work. The solution is very straight forward using a simple little script that we provide. In IIS you can set individual ASP timeouts per site. With this script you can do the same for CGI Perl scripts. If you are running Windows2000 we highly recommend that you use this module as there is a problem with the IIS CGI timeout setting when a script goes into a certain kind of loop.

Using Timeout.pm

Download Timeout.pm below and put it into your Perl lib folder (default is "c:\Perl\lib").
Timeout.pm download (Right click and select 'Save Target As').

Now you need to update the IIS configuration to use Timeout.pm. This can be easily done by following these instructions:-

  1. Open the 'Internet Services Manager' (program opens with the title 'Internet Information Services'.
  2. Right click on your server name and select properties.
  3. Under 'Master Properties' select 'WWW service' and click Edit.
  4. Select the tab 'Home Directory' and click the button 'Configuration' in the 'Application settings' section.
  5. Select the tab 'App Mappings', from this screen you should see an association for .pl and .cgi files with the perl.exe program.
  6. Double click on the .pl association.
  7. In the section Executable: change line
    C:\Perl\bin\perl.exe "%s" %s
    to
    C:\Perl\bin\perl.exe -MTimeout=90 "%s" %s
    This sets a timeout of 90 seconds the same as ASP.
  8. Repeat this for the .cgi association.
  9. Click the button 'Ok'
  10. Again Click the button 'Ok'.
  11. When a window pops up titled 'Inheritance Overrides' make sure you click the buttons 'Select All' Then 'OK'. Failure to do this will mean that you'll need to add this setting to each website individually.
  12. If you want to edit the timeout setting for individual sites you can by updating their 'App Mappings'.

Beyond Timeout.pm

We are developing a module called SafeRun.pm. It's purpose is to create an extremely safe running environment controlled by Perl itself. If you are an advanced Perl programmer we could do with your support!

     
orange bullet

Free Scripts

-CGI & Perl Scripts
-AffiliateClick Free
-RSS creator
-SecureFormEmailer
-Directory
-Storyline
-Tell-a-Friend
-Link Trade
-Cosmic Mailer Lite
orange bullet

More Free Scripts

-BBS
-Clock
-Hit Counter
-Top Site
-Shot in the Dark
-Gamemaker
-Random Pics & Text
-Banner Rotator
-Password Protection
Want the latest news?
Then why not sign up for our newsletter? Be notified immediately about new products, upgrades, sales, discounts, bug fixes, site updates and more. 
 
 
spacer
free cgi scripts | perl scripts | affiliate software | site map
Copyright 2003-2004 CosmicScripts.com. All rights reserved.
spacer