stop long running process

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Thomas tang

    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.
  • Egbert Nierop \(MVP for IIS\)

    #2
    Re: stop long running process


    "Thomas tang" <Thomastang@dis cussions.micros oft.com> wrote in message
    news:38F12CCD-8161-4708-B745-AC090EB9A84F@mi crosoft.com...[color=blue]
    > 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.[/color]

    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.

    Comment

    • Bob Barrows [MVP]

      #3
      Re: stop long running process

      Thomas tang wrote:[color=blue]
      > 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.[/color]

      Just to add to Egbert's reply:

      --
      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.


      Comment

      Working...