B
Bill H
(sorry about the subject, didn't know how to word the question without
putting the whole message in the subject)
I have a perl routine that takes some html form variables that are
"POST"ed to it from a Flash app (works the same as a web page POST)
and when it is done it sends back a status to the Flash program using
a simple:
print "Content-type:text/plain\n\n";
print "status=complete";
exit;
which works fine. What I would like to do is send the above so that
the Flash app goes about its business but have the perl program
continue on doing some stuff that I don't want the user to have to
wait for the completion of. What I am looking for is a way to simulate
whatever perl does for the waiting user when it performs the exit
without exiting. Something like this:
print "Content-type:text/plain\n\n";
print "status=complete";
"some magical perl command to force the above to the user
and end connection without stopping program"
additional code that is executed
exit;
Any clues, perldocs -f, online docs would be appreciated.
Bill H
putting the whole message in the subject)
I have a perl routine that takes some html form variables that are
"POST"ed to it from a Flash app (works the same as a web page POST)
and when it is done it sends back a status to the Flash program using
a simple:
print "Content-type:text/plain\n\n";
print "status=complete";
exit;
which works fine. What I would like to do is send the above so that
the Flash app goes about its business but have the perl program
continue on doing some stuff that I don't want the user to have to
wait for the completion of. What I am looking for is a way to simulate
whatever perl does for the waiting user when it performs the exit
without exiting. Something like this:
print "Content-type:text/plain\n\n";
print "status=complete";
"some magical perl command to force the above to the user
and end connection without stopping program"
additional code that is executed
exit;
Any clues, perldocs -f, online docs would be appreciated.
Bill H