472,351 Members | 1,481 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,351 software developers and data experts.

stop long running process

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.
Jun 7 '06 #1
2 1535

"Thomas tang" <Th********@discussions.microsoft.com> wrote in message
news:38**********************************@microsof t.com...
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.

Jun 7 '06 #2
Thomas tang wrote:
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
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Jun 7 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Prasad | last post by:
Hi, I am writing a service which takes a long time to stop after the OnStop call is given by the Services Snap-in. The problem is I cannot cut down...
6
by: MA | last post by:
Hi all! I know there is other newsgroups for webservices, but I donīt get any answers on those. I have developed a webservice that writeing...
2
by: Prasad | last post by:
Hi, I am writing a service which takes a long time to stop after the OnStop call is given by the Services Snap-in. The problem is I cannot cut down...
5
by: Torben Laursen | last post by:
Hi My interface calls a C++ dll that runs a slow calculations. So I call the dll inside a BackgroundWorker thread, and that all works fine. ...
0
better678
by: better678 | last post by:
Question: Discuss your understanding of the Java platform. Is the statement "Java is interpreted" correct? Answer: Java is an object-oriented...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
0
by: Matthew3360 | last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function. Here is my code. ...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
Oralloy
by: Oralloy | last post by:
Hello Folks, I am trying to hook up a CPU which I designed using SystemC to I/O pins on an FPGA. My problem (spelled failure) is with the...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.