close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Script Timing out

Thread began 8/17/2009 11:52 pm by sales242808 | Last modified 8/25/2009 11:54 am by Eric Mittman | 1918 views | 3 replies |

sales242808

Script Timing out

I am using Universal e mail which is working fine. However it seems to take a long time to mail out to my Database and I keep getting a message saying the Script has timed out - part way through each mailing.

Please advise how I can extend the script processing time.

Sign in to reply to this post

Eric Mittman

In PHP you can do this with the following PHP function:

php:
set_time_limit(30);



This will reset the script time limit to 30 seconds, this is the default. You can extend this to a larger amount of time and have it at the top of the page, or you can add it in like this inside of the loop. Once in the loop it would extend the time limit of the script by another 30 seconds for each address.

Here is the php page that discusses this:
function.set-time-limit.php

Sign in to reply to this post

sales242808

Script timing out

Thanks for the reply. I am using universal e mail in ASP pages

Where do I change the timings. Is this on the page to which the Univeral e mail is added or do I have to find the script itself and change it ?

Sorry for my ignorance

Sign in to reply to this post

Eric Mittman

Here is the same thing for ASP:

<% 
Server.ScriptTimeout = 180
%>



Just place this code anywhere on the page to increase the timeout. If you place it inside of the loop you will be updating the time allowed for each record in the loop. If you can spot the loop in the code you can place it there, otherwise it would just go at the top of the page. If you post back with a copy of your page in a zip archive I can point out where this would need to go in the page.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...