Not sure this can be done.
I am rewrite the URL after doing form submits, to avoid double posting, no prob, works great.
But, I have a lot of navigation and state information along for the ride.
I also want to permit the user to have multiple windows open to the site.
What I am wondering is, I don't have a problem sending get values over, but I don't see a way to submit post values via header(). Is there?
simplified example code of what I am using:
if($form_processed){
if (!(headers_sent())) {
header("Location: $_SERVER[PHP_SELF]?page=$page&ID=$ID&action=$action");
};
};
Like I said, this works great, but I would love to send the variable by post method, and keep it out of the URL, and would like to avoid the cookies and sessions.
Thanks for your time,
Will
(LAMP environment)