how to run asynchronous methods on a web site?

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Max (maximus_at_portvista.com)
Date: 02/28/04

  • Next message: Norman Wooten: "Controls.."
    Date: Sat, 28 Feb 2004 21:33:08 GMT
    
    

    Is there a built in way to run a piece of code asynchronously? I'd like to
    run some code in the background that's triggered by a user action on a web
    page.

    Examples of what I'm talking about:
    User clicks on "Update Database" which downloads a text file from another
    site and imports into a database. I don't want to user to have to wait for
    this.

    User clicks on "Email Clients" and it sends an email to 3000 clients. I
    don't want the user to sit there and wait for 3000 emails to send out. I can
    have it send an email later telling the client the results.

    -Max


  • Next message: Norman Wooten: "Controls.."

    Relevant Pages

    • Re: how to run asynchronous methods on a web site?
      ... Make sure you leave the request running long enough for the thread to start ... though or use a static method or else the thread procedure might fail before ... > User clicks on "Update Database" which downloads a text file from another ... > User clicks on "Email Clients" and it sends an email to 3000 clients. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Alright, you jdk14 geeks...
      ... > Once it is BUILT on the NFS system - will I be able to INSTALL ... Once you've got a native JDK built as a package on FreeBSD, ... your business clients, well, that is another story. ... You need to understand the license agreements yourself: ...
      (freebsd-questions)
    • Automate Email Distribution List
      ... I have built a fairly simple database to manage contact information ... for about 300 clients. ... our publications by email rather than post. ...
      (comp.databases.ms-access)
    • Re: embedded files in Word documents - any limitations?
      ... specifications prior to the changes actually being built. ... In the past, all changes were defined in a single spec, but we are in the process of implementing RUP, which requires separate documents for each component - for example, a screeen has its own UI prototype document, each process has a use case document and so on. ... That's a good point about conflicts between different versions, as we don't know precisely which our clients are using. ...
      (microsoft.public.word.formatting.longdocs)
    • SBS cannot browse internet
      ... Im having troubles with a clients W2K SBS. ... it was built, it could browse the net fine. ... load a page. ... It comes back with a DNS error. ...
      (microsoft.public.windows.server.sbs)