Jump to content

Response.Flush and Server.ScriptTimeout


johnnyg24

Recommended Posts

This could be a crazy question but if I'm flushing my response to the screen during a very long loop will the page never hit the Server.ScriptTimeout time I set? I ask because I'm sending about 10,000 emails and my page will timeout before it finishes sending the emails. I'm currently flushing the email address to the screen after each send so I can see where it fails if it does. I also, don't want to set the timeout value to some crazy length. Thanks

Link to comment
Share on other sites

  • 3 weeks later...

#johnnyg24 Try to manage your IIS if you have access to IIS Settings, and set the timeout script default from "ASP" to one value more large then 3600. After that you could not set scripttimeout in your aplication while you send emails, until you finish that.And as the #justsomeguy said, the response.flush do not resset the time of set = "0" the time. Anyway, another questions msg us !! thanks and good lucky !

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...