--- David T-G <[EMAIL PROTECTED]> wrote:
> If I run
> 
>   http://test.locations.org/sessions/extracting.php
> 
> with cookies on, then upon reload $_SESSION[pw] has a value, which is
> expected. If cookies are off, though, it does not, and I do not see the
> SID in the URL even after the click. So I click the other link, wherein
> I specified the SID, and it finally works -- but I thought that PHP was
> supposed to format my URLs the right way for me, and even moreso didn't
> think that I needed the ? because the SID constant is supposed to be
> "smart".

Check your php.ini and see if you can find this:

session.use_trans_sid = 1

You want that to be 1 in order for PHP to do this for you.

Hope that helps.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security Handbook
     Coming mid-2004
HTTP Developer's Handbook
     http://httphandbook.org/
RAMP Training Courses
     http://www.nyphp.org/ramp

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to