Photo Gallery Member List Search Calendars FAQ Ticket List Log Out


Kicking off a process question

 
Logged in as: Guest
arrSession:exec spGetSession 2,3,62211
 Active Users: There are 0 members and 0 guests.
 Users viewing this topic: none
 

 

 
  
  Printable Version
All Forums >> [Scripting] >> ASP >> Kicking off a process question
  Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Page: [1]
Login
Message << Older Topic   Newer Topic >>
 Kicking off a process question - 7/8/2008 12:11:23 AM   
  jonpfl

 

Posts: 1
Score: 0
Joined: 7/8/2008
Status: offline
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
 
 
Post #: 1
 
 RE: Kicking off a process question - 7/8/2008 7:29:08 AM   
  TNO


Posts: 1064
Score: 10
Joined: 12/18/2004
From: thenewobjective.com
Status: offline
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

(in reply to jonpfl)
 
 
Post #: 2
 
 RE: Kicking off a process question - 7/9/2008 1:09:59 AM   
  webber123456

 

Posts: 37
Score: 0
Joined: 9/20/2007
Status: offline
you can flush a response back to the user before starting the process.  should have the same effect.

(in reply to jonpfl)
 
 
Post #: 3
 
 
 
  

If you found our site useful please link to us <a href="http://www.visualbasicscript.com">VisualBasicScript.com</a>.
All Forums >> [Scripting] >> ASP >> Kicking off a process question Page: [1]
Jump to:





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
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts