473,915 Members | 5,904 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1586

"Thomas tang" <Th********@dis cussions.micros oft.com> wrote in message
news:38******** *************** ***********@mic rosoft.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
2870
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 on the time that it takes to Stop. The Service snap-in gives me the error saying that the service did not respond to the Stop call in a timely fashion. So is there any method by which I can get around this problem. Thanks Prasad
6
4336
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 and reading files in different folders. Question 1: I need to be able to stop this service by using a web interface
2
376
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 on the time that it takes to Stop. The Service snap-in gives me the error saying that the service did not respond to the Stop call in a timely fashion. So is there any method by which I can get around this problem. Thanks Prasad
5
9000
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. But how can I stop the thread if the user wants to? I can not tell the dll to stop so CancelAsync() will not work? I need a way to simply kill the "thread" since nothing in it will be used if the user wants to cancel
0
9883
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10928
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
11069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9734
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
8102
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
7259
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4779
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
4346
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3370
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.