Re: sessions, SIDs, and php 4.3
| From: | David T-G | Date: | Thu, 13 Nov 2003 21:44:55 +0000 |
| Subject: | Re: sessions, SIDs, and php 4.3 | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169587@lists.php.net to get a copy of this message | ||
Chris, et al -
..and then Chris Shiflett said...
%
% --- David T-G <davidtg-php@justpickone.org> wrote:
% >
% > 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
Yep.
bash-2.05a$ grep trans_sid /usr/local/etc/php.ini
session.use_trans_sid = 1
bash-2.05a$ lynx -dump http://test.locations.org/sessions/extracting.php
| grep -i trans_sid
session.use_trans_sid On On
(of course I added a phpinfo() call to the script for the test.)
%
% You want that to be 1 in order for PHP to do this for you.
That I do, but it doesn't seem to matter too much!
%
% Hope that helps.
Thanks anyway.
%
% Chris
HAND
:-D
--
David T-G * There is too much animal courage in
(play) davidtg@justpickone.org * society and not sufficient moral courage.
(work) davidtgwork@justpickone.org -- Mary Baker Eddy, "Science and Health"
http://justpickone.org/davidtg/ Shpx gur
Pbzzhavpngvbaf Qrprapl Npg!