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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Time-out or Run-time Error Handling

Status
Not open for further replies.

JustWondering

Technical User
Jun 28, 2003
57
US
Can you show me how to handle these kind of error? Customers get these kind of errors when they use our search engine.

Thanks.
 
how to handle them?
--well change the timeout and session lengts on the pages in question or on the server itslef.
Unfortunately, some designs are not that good so no matter how long is the timeout set to...the DB still timesout due to poore design (of the DB). Also it could be that the user side is slow and that their connection is poor.
Hopefully it is just setting the timeout on each page.this forum has a lot of posts on Session Timeouts and how to set them...
ALL the best!

> need more info?
:: click here ::
 
What I am trying to do is when these errs occur, instead of the DB Errs, I want to display an user friendly error msg. I just don't know how to set this up.

Thanks
 
most likely it is:
Start--->Admin Tools-->IS Manager--->Default website (rigigh-click)-->Properties--->[Custm Errors] tab
...another approach < I think woudl work> is declaring on your &quot;Results.asp&quot; page
-------------
IF SessionTimeout=true THEN
Response.Write(&quot;There has been an error&quot;)
----------------

I am not sure about the synthanx SessionTimeout=true ...but the pricipal should work!
I hope it helps or leads to some other ideas
All the best!

> need more info?
:: click here ::
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top