Headers, downloads and redirection
Next message: Adam: "Force Download."
Date: Wed, 27 Oct 2004 17:19:37 -0700
I have a script which validates a user's email, password and IP for
the purposes of a file download. The validation and error messages
work perfectly. After the validation and download, I want to redirect
the user to a thank you page. I have done this on other sites with no
problems, but this one seems to have a difference that is making me
crazy.
The download works fine with the usual cache headers and force
download, readfile etc. However, the script refuses to redirect. I
have tried header ("location: ...") and an abbreviated echo of an HTML
redirect and neither works. Thought maybe it was a cache problem, so
I tried ob_start and ob_flush (worked great for the redirect, but the
file would not download).
Anyone have any ideas?
TIA!
Next message: Adam: "Force Download."
Relevant Pages
- Re: Headers, downloads and redirection
... >> the purposes of a file download. ... After the validation and download, ... I don't see how you can send a document and a redirect in the same stream. ... (alt.php) - Re: WGA Hacked?! Get a Fair and Balance Perspective!
... >> can do today if you are not using IE or have an issue under WGA. ... plug-in and IE and one without, and they both want to download WGA protected ... > is NO LOGICAL way to get faster access to downloads by adding WGA checks ... >>> but with Validation it won't be hidden. ... (microsoft.public.windowsxp.general) - Re: How to share VB code across multiple pages?
... Validation of viewstate MAC failed. ... Exception Details: System.Web.HttpException: Validation of viewstate ... Juan T. Llibre wrote: ... you can download the public 2.0 Beta versions here: ... (microsoft.public.dotnet.framework.aspnet) - Re: !Genuine Windows Validation now mandatory for downloads...
... Noticed also that along with WGA is a new Office Validation tool. ... Uses a separate ActiveX, called OVA Class 1.3.230.3 but identifies ... > download, why do you think that no one will be able to download from ... > Microsoft MVP Windows Shell/User ... (microsoft.public.windowsxp.general) - Re: Steady State Validation required
... I download the VALIDATION software, run it, and get the obsolete message. ... Jeez VanguardLH, you sure got some chip on your shoulder to prove me a bad ... doesn't the Microsoft download site require validation BEFORE they ... (microsoft.public.windowsxp.general) |
|