WebProWorld Part of WebProNews.com
Page One Link To Us Edit Profile Private Messages Archives FAQ RSS Feeds  
 

Go Back   WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Subscribe to the Newsletter FREE!


Register FAQ Members List Calendar Arcade Chatbox Mark Forums Read

Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-26-2004, 04:22 AM
WebProWorld Member
 

Join Date: Feb 2004
Posts: 58
yorks RepRank 0
Default timeout problem

Hi all

I run a server running an ASP website. One of the functions which updates every user's details consistently gives a timeout error due to the large number of users involved.

How do I increase the timeout value using either ASP or a setting on the server ?

Thanks in advance

robert
Reply With Quote
  #2 (permalink)  
Old 07-26-2004, 10:58 AM
WebProWorld 1,000+ Club
 

Join Date: Jul 2003
Location: Toronto, Canada
Posts: 2,193
cyanide RepRank 0
Default

You'll have to go in to the Administrative Console, there should be a settings section under ASP server.

You'll need root access, I believe
__________________
|
Web Hosting Guru
| Need Help For Your Forum?
Reply With Quote
  #3 (permalink)  
Old 07-26-2004, 11:42 AM
swstyles's Avatar
WebProWorld Pro
 

Join Date: Aug 2003
Location: Phoenix, AZ
Posts: 167
swstyles RepRank 0
Default

You can adjust your session time out by creating a file called global.asa and putting it in the root folder of your website. Copy and paste the code below for your global.asa file. You can adjust the time, If you are still getting timeout issues and if you are on MS server 2003, I had the same problems and just went back to MS server 2000. Hope this helps.

Code:
<SCRIPT LANGUAGE=VBScript RUNAT=Server>

	Sub Session_OnStart()
		Session.Timeout = 40
	End Sub
	
	Sub Application_OnStart()

	End Sub
	
</SCRIPT>
__________________
Daniel M: South West Styles/STEELid
daniel@steelid.com
http://www.steelid.com
http://www.thephototool.com
Reply With Quote
  #4 (permalink)  
Old 08-01-2004, 02:08 AM
WebProWorld Member
 

Join Date: May 2004
Location: Good ole USA
Posts: 73
CharleneH RepRank 0
Default easy

On the page that is excuting add server.timeout = ms
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum
Tags: ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.2.0