NYCPHP Meetup

NYPHP.org

[nycphp-talk] Repost Post Vars

Jeff Siegel jsiegel1 at optonline.net
Sun Sep 21 09:45:29 EDT 2003


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.

"PHP is capable of transforming links transparently. Unless you are
using PHP 4.2 or later, you need to enable it manually when building
PHP. Under UNIX, pass --enable-trans-sid to configure. If this build
option and the run-time option session.use_trans_sid are enabled,
relative URIs will be changed to contain the session id automatically."
(See: http://us3.php.net/session)

Jeff Siegel

-----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 3:15 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] Repost Post Vars


Hola:

On Fri, Sep 19, 2003 at 03:39:19PM -0400, Jeff Siegel wrote:
> 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?

Similar.  BUT, you're writing a header() call, which I doubt PHP would 
automatically stick a session ID into.

Adios,

--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