NYCPHP Meetup

NYPHP.org

[nycphp-talk] Repost Post Vars

Analysis & Solutions danielc at analysisandsolutions.com
Fri Sep 19 11:06:15 EDT 2003


Hey:

On Fri, Sep 19, 2003 at 10:39:25AM -0400, Jeff Siegel wrote:
> That should, theoretically, be taken care of by the browser. No?

Well, I don't use cookies.  I'd save $_SERVER['HTTP_USER_AGENT'] and the
current timestamp in the session and pass the session ID in the query
string of the header(Location) call.  The subsequent script checks the
saved user agent info matches and the time elapsed is less than a few 
seconds ago, you're good to continue.

--Dan

-- 
     FREE scripts that make web and database programming easier
           http://www.analysisandsolutions.com/software/
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
 4015 7th Ave #4AJ, Brooklyn NY    v: 718-854-0335   f: 718-854-0409



More information about the talk mailing list