leo_wh_cheung
asked on
How can I set the page never timeout expired?
The page that it will reply need more than 30 seconds
How can I set the page wait for a longer time and never Timeout expired ?
How can I set the page wait for a longer time and never Timeout expired ?
also what scripting language you can use.
ASKER
cheekycj,
Can I set the length of timeout from the browser?
"Waiting for Reply....."
I am using active server page to write my webpage.
SQL Statement is execute in my asp. But, it take more than 30 second to reply the answer.
Leo cheung
Can I set the length of timeout from the browser?
"Waiting for Reply....."
I am using active server page to write my webpage.
SQL Statement is execute in my asp. But, it take more than 30 second to reply the answer.
Leo cheung
you can increase the timeout using
www.mysite.com/path/file.asp?requesttimeout=5000000
(time is in milliseconds)
Another thing you can use is buffer the output.. I know it is possible in ASP.. I will have to dig to find out how.
CJ
www.mysite.com/path/file.asp?requesttimeout=5000000
(time is in milliseconds)
Another thing you can use is buffer the output.. I know it is possible in ASP.. I will have to dig to find out how.
CJ
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
If you've used ASP. add =>
The ScriptTimeout property specifies the amount of runtime in seconds for a script before it terminates. The default value is 90 seconds.
The following code causes a script to timeout if the script takes more than 150 seconds to complete.
<% Server.ScriptTimeout = 150 %>
The value of the ScriptTimeout property can be retrieved as well.
<% timeout = Server.ScriptTimeout %>
The ScriptTimeout property specifies the amount of runtime in seconds for a script before it terminates. The default value is 90 seconds.
The following code causes a script to timeout if the script takes more than 150 seconds to complete.
<% Server.ScriptTimeout = 150 %>
The value of the ScriptTimeout property can be retrieved as well.
<% timeout = Server.ScriptTimeout %>
It is time to clean this abandoned question up.
I am putting it on a clean up list for CS.
<recommendation>
UNLOCK
delete
</recommendation>
If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.
Cd&
I am putting it on a clean up list for CS.
<recommendation>
UNLOCK
delete
</recommendation>
If anyone participating in the Q disagrees with the recommendation,
please leave a comment for the mods.
Cd&
CJ