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

SQL - ASP Timeout

Status
Not open for further replies.

jepatte

Programmer
Jul 4, 2005
75
US
I have a site where users can search voter records and then download results into a csv file. If the search is very large, ie. 150,000 records, obviously it takes a while to process (20-30 seconds or more). If someone else comes to the site at the same time and does a download, sometimes they timeout. I'm using ASP and SQL Server 2000, and I have the appropriate locks when opening and looping thru records. adOpenForwardOnly, adLockReadOnly

So as a very very small example, if my recordset has 3 records (A, B, C) and another person logs in and their recordset has (B, C, D) at the same time. Should they get a timeout?
 
jepatte, no, they shouldn't get a timeout. Have you tried increasing the timeout time?

Code:
Server.ScriptTimeout = 100

Cheers

nick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top