NYCPHP Meetup

NYPHP.org

[nycphp-talk] Repost Post Vars

Jeff Siegel jsiegel1 at optonline.net
Fri Sep 19 15:39:19 EDT 2003


Isn't it the case that if the user has cookies on it will use cookies
but if the user doesn't have cookies on...then PHP kinda handles things?


Jeff

-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Analysis & Solutions
Sent: Friday, September 19, 2003 10:06 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Repost Post Vars


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
_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk




More information about the talk mailing list