Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

browser times out 1

Status
Not open for further replies.

ccampbell

Programmer
Aug 16, 2001
201
US
Hello all, I am having a problem with my ASP program. When I launch the initial login screen, it runs a query and populates Application and Session variables in the global.asa file. My problem is, my browser times out before the query is complete. My browser gives me the standard message "The page cannot be displayed...". If I hit the refresh button, then the correct page comes up. Is there any way to complete the query before the browser times out, or direct the user to the correct page and still process the query to populate the session variables? ANy help would be appreciated.
 
you can one of two things.
set the session timeout
Session.Timeout=30
this is measured in minutes so this setting will equal
30 minutes
or more then likely what you will need for this instance is the script time out
Server.ScriptTimeout = 3600
This is measured in seconds unlike the regular Timeout being minutes

do this above the script in the page A language that doesn't affect the way you think about programming is not worth knowing.
admin@onpntwebdesigns.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top