Jump to content

Response.Flush and Server.ScriptTimeout


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 post
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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...