Re: help
- From: "C. (http://symcbean.blogspot.com/)" <colin.mckinnon@xxxxxxxxx>
- Date: Mon, 7 Jan 2008 04:47:37 -0800 (PST)
On 5 Jan, 18:06, 6e <aot...@xxxxxxxxxxx> wrote:
Hi!
Please help!!!
Im using php and Im trying to redirect my users to a new page along
with keeping all of the POST variables...
You can't.
In the script which catches the POST you could convert the POST vars
to GET vars and redirect to the URL with a constructed query, or store
the POST vars somewhere in the session. Regardless, the POST will be
empty in the redirected page.
HTTP redirection was never intended for this kind of purpose - even
when its done properly (the header('location....) function returns a
302 response which is completely wrong for this in HTTP/1.1 and even
if you use a 307 redirect it messes up lots of stuff.
Stop trying to fix the wrong problem.
C.
.
- References:
- help
- From: 6e
- help
- Prev by Date: Re: Reducing load for LAMP app?
- Next by Date: Re: Separating static and dynamic contents?
- Previous by thread: Re: help
- Next by thread: I just don't have a great feeling about diving into ZF
- Index(es):
Relevant Pages
|