[nycphp-talk] Repost Post Vars
Jeff Siegel
jsiegel1 at optonline.net
Sun Sep 21 13:12:25 EDT 2003
Dan,
You may have missed my little "disclaimer" in which I noted "...it
doesn't directly address your question concerning the header call." As
for requiring a full URI...it seems that's not required. The PHP manual
does state that "...relative URIs will be changed to contain the session
id automatically."
Jeff
-----Original Message-----
From: talk-bounces at lists.nyphp.org [mailto:talk-bounces at lists.nyphp.org]
On Behalf Of Analysis & Solutions
Sent: Sunday, September 21, 2003 10:34 AM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Repost Post Vars
Howdy:
On Sun, Sep 21, 2003 at 09:45:29AM -0400, Jeff Siegel wrote:
> Dan,
>
> If I'm reading this correctly, PHP does automatically handle the
passing
> of the session ID (see snippet below). However, it doesn't directly
> address your question concerning the header call.
First, I doubt the transparent session ID / url rewriting works on
header(Location) calls. Second, even if PHP did tack on a SID to the
location header, the location specified is supposed to be a full URI,
thus
would land in the rule that only relative links are rewritten. Thus,
you
need to manually tack the session id into the header(Location) URI.
... snippity snip, because, that's why ...
--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