473,729 Members | 1,914 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 1575

"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
2860
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
4327
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
8990
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
8932
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9295
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
9222
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
9163
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8168
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...
0
6028
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();...
0
4537
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4799
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2173
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.