I have an asp page that should be used to send emails to members of a mailing list. But it only works if the email-sending takes less than 2 hours.
When the asp-page is first opened, it sets the server and session timeouts to 24 hours.
On the page the user can press a button, and send emails to certain recipients of the mailing list.
When the user presses the button, the asp page sends the emails to an SMTP server with JMail. Every time an email is send with JMail, a space character is written to the browser, in order to prevent a browser timeout (but this doesnt seem to work).
My propblem is, that if too many emails are to be send, then the browser times out after approximately 2 hours.
But, the asp page keeps running, sending out emails!!!
I would like to ask if anyone knows:
1) Why the browser timeouts.
2) Why the asp page keeps running, after the browser has timed out.
I hope some of you know something that can give me a clue.
Best Regards
Stefan
When the asp-page is first opened, it sets the server and session timeouts to 24 hours.
On the page the user can press a button, and send emails to certain recipients of the mailing list.
When the user presses the button, the asp page sends the emails to an SMTP server with JMail. Every time an email is send with JMail, a space character is written to the browser, in order to prevent a browser timeout (but this doesnt seem to work).
My propblem is, that if too many emails are to be send, then the browser times out after approximately 2 hours.
But, the asp page keeps running, sending out emails!!!
I would like to ask if anyone knows:
1) Why the browser timeouts.
2) Why the asp page keeps running, after the browser has timed out.
I hope some of you know something that can give me a clue.
Best Regards
Stefan