in reply to [CGI] redirect after headers have been printed
Why do you need to do that ?
Logically, you are either giving the user output, or redirecting him.
If the user needs to be fed some information in response to the form, you can get the receiving (redirected) page to display that information, by passing that information either as a session variable, or via a querystring.
In the absolutely last resort, you can output a page to the client, then use client-side refresh to redirect the page.
"For every complex problem, there is a simple answer ... and it is wrong." --H.L. Mencken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: [CGI] redirect after headers have been printed
by jhourcle (Prior) on Jul 14, 2006 at 02:47 UTC |