NYCPHP Meetup

NYPHP.org

[nycphp-talk] Repost Post Vars

Jeff jsiegel1 at optonline.net
Wed Sep 17 17:57:58 EDT 2003


Good question. Anyone know about the security implications? 

Jeff

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of crisscott at netzero.com
Sent: Wednesday, September 17, 2003 4:13 PM
To: talk at lists.nyphp.org
Subject: RE: [nycphp-talk] Repost Post Vars



I don't know how secure this would be or if it is considered really bad,
but what about saving them in $_SESSION and then redirecting?  Something
like:
$_SESSION['post_vars'] = $_POST;
header(blah...);
And then when you get to the second page you could put them back:
$_POST = $_SESSION['post_vars'];
unset($_SESSION['post_vars']);

I have no idea what the implications of this are.

Scott Mattocks
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk




More information about the talk mailing list