Kicking off a process question

Author Message
jonpfl

  • Total Posts : 1
  • Scores: 0
  • Reward points : 0
  • Joined: 7/8/2008
  • Status: offline
Kicking off a process question Tuesday, July 08, 2008 1:11 AM (permalink)
0
All,
 
We have a webpage written in classic ASP that is being used to create a PDF.  The problem is, the PDF creation takes a few minutes and we do not want the user sitting there waiting for it to complete.
 
Is there an easy way to have a process kicked off on the server and return control to the client (maybe have a webpage saying "We will email your report when completed") and notify the user when done?  Right now, we already have the vbscript written and we stream the PDF to the user when it is completed (after a couple of minutes)
 
Thx
jonpfl
 
#1
    TNO

    • Total Posts : 2094
    • Scores: 36
    • Reward points : 0
    • Joined: 12/18/2004
    • Location: Earth
    • Status: offline
    RE: Kicking off a process question Tuesday, July 08, 2008 8:29 AM (permalink)
    0
    JavaScript can, vbscript cannot. I suggest you put that logic on the client instead. after the upload function executes have the client say thank you or whatever instead of trying to get the server page to do two things at once (which VBScript can't do)
    To iterate is human, to recurse divine. -- L. Peter Deutsch
     
    #2
      webber123456

      • Total Posts : 58
      • Scores: 0
      • Reward points : 0
      • Joined: 9/20/2007
      • Status: offline
      RE: Kicking off a process question Wednesday, July 09, 2008 2:09 AM (permalink)
      0
      you can flush a response back to the user before starting the process.  should have the same effect.
       
      #3

        Online Bookmarks Sharing: Share/Bookmark

        Jump to:

        Current active users

        There are 0 members and 1 guests.

        Icon Legend and Permission

        • New Messages
        • No New Messages
        • Hot Topic w/ New Messages
        • Hot Topic w/o New Messages
        • Locked w/ New Messages
        • Locked w/o New Messages
        • Read Message
        • Post New Thread
        • Reply to message
        • Post New Poll
        • Submit Vote
        • Post reward post
        • Delete my own posts
        • Delete my own threads
        • Rate post

        2000-2012 ASPPlayground.NET Forum Version 3.9