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)
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
|
|
|
|
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)
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
|
|
|
|
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)
you can flush a response back to the user before starting the process. should have the same effect.
|
|
|
|