[REBOL] Re: This is dumb (don't do it!)
From: hallvard:ystad:oops-as:no at: 29-Jan-2004 23:50
OK, the reason I did this, is I wonder if I can have a CGI script close the connection
to user and then continue processing some data afterwards. So that the web user wouldn't
have to wait ages for the browser to tell him the page has finished loading when actually
it is.
The following CGI script didn't do the trick. Anyone got an idea?
HY
Script:
#!/usr/local/bin/rebol -cs
REBOL []
set-net [...]
print "Content-Type: text/html^/"
print [<html><body><p><pre>]
probe system/options/cgi
print reverse [</html></body></p></pre>]
close system/ports/output
wait 30 ; seconds
print "HEHE"
send [x--y--name] "done"
Dixit Gregg Irwin (18.24 27.01.2004):