stop long running process

T

Thomas tang

hello everyone, i am an ASP new comer, i have write a simple asp application,
which is used to send batch email. the process will running for few hour, it
depend on how much email needed to send. however i have a problem in
...........i can't find a way to stop this sending process until it send out
all of the email (or let say unless i reset the iis by in cmd typing
iisreset). can any one help me ??

i also have try different method such as before it need to send each mail it
need to check the session, at that time (during send) user can press a button
on the pop up page that change the session value. however this method is not
work, it need to wait until the sending process finish.
 
E

Egbert Nierop \(MVP for IIS\)

Thomas tang said:
hello everyone, i am an ASP new comer, i have write a simple asp
application,
which is used to send batch email. the process will running for few hour,
it
depend on how much email needed to send. however i have a problem in
..........i can't find a way to stop this sending process until it send
out
all of the email (or let say unless i reset the iis by in cmd typing
iisreset). can any one help me ??

i also have try different method such as before it need to send each mail
it
need to check the session, at that time (during send) user can press a
button
on the pop up page that change the session value. however this method is
not
work, it need to wait until the sending process finish.

Hi,

ASP should not be (mis) used to run batches. If you want to send mail, use
cscript.exe which allows you to use practically the same syntax, except,
that it is not hosted by ASP & IIS.
 
B

Bob Barrows [MVP]

Thomas said:
hello everyone, i am an ASP new comer, i have write a simple asp
application, which is used to send batch email. the process will
running for few hour, it depend on how much email needed to send.
however i have a problem in ..........i can't find a way to stop this
sending process until it send out all of the email (or let say unless
i reset the iis by in cmd typing iisreset). can any one help me ??

i also have try different method such as before it need to send each
mail it need to check the session, at that time (during send) user
can press a button on the pop up page that change the session value.
however this method is not work, it need to wait until the sending
process finish.

Just to add to Egbert's reply:
http://www.aspfaq.com/show.asp?id=2143
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,755
Messages
2,569,539
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top