Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: This is dumb (don't do it!)

From: hallvard:ystad:oops-as:no at: 3-Feb-2004 0:19

Dixit [SunandaDH--aol--com] (18.29 30.01.2004):
>Hi Hallvard, >[...] >I tried to find a foolproof way of doing this for something we needed or > I failed. >[...] >If you find a better solution, please let me know!
Well, I don't know if this will work, it's only an idea: You keep two CGI scripts, C1 and C2. C1 redirects to C2 with a 302 HTTP header. Now if C1 is unaffected by the browser suddenly giving up and passing on to somewhere else, it may quietly do its background task without anyone waiting. What the other end user will see is only what is written by C2. Does web servers somehow detect if requesting browsers no longer listen? And if so, do they kill CGI child processes? I wouldn't believe so. Just a thought HY