Forum Moderators: open

Message Too Old, No Replies

Can I set a time for my ASP script, then do something else?

instead of just ending the script

         

too much information

9:50 pm on Jan 22, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I've got an error somewhere but my database is locked because of the bad process and I'm sick of waiting for it to time out on the server. (I don't have access to the server)

I have added the Server.ScriptTimeout = 30 so that the script will end after 30 seconds for when I can try it again, but is there a way that I could set a 30 sec. limit then erase the bad record and refresh the page?

dupati1

8:07 pm on Jan 23, 2004 (gmt 0)

10+ Year Member



Try this:

<meta http-equiv="refresh" content="30">

VJ

too much information

9:02 pm on Jan 23, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



yea, that's what I ended up with. I would have rather set a timeout for a specific loop in the script, but the Meta and the ScriptTimeout combined work just as well