Re: sessions, SIDs, and php 4.3
| From: | Chris Shiflett | Date: | Thu, 13 Nov 2003 22:18:22 +0000 |
| Subject: | Re: sessions, SIDs, and php 4.3 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169598@lists.php.net to get a copy of this message | ||
--- David T-G <davidtg-php@justpickone.org> wrote:
> OK, but I know I have a problem and what I need is a solution :-)
Yes, I understand. :-)
> > If you look at the output of phpinfo() on this exact same script,
> > is the local value of session.use_trans_sid still 1?
>
> Yep. See a previous list reply.
OK, well that is very strange. Can you tell us the output of the following
sample code?
<?
session_start();
$_SESSION['foo'] = 'bar';
?>
<p>
session.use_trans_sid
[<? echo ini_get('session.use_trans_sid'); ?>]
</p>
<p>
<a href="<? echo $_SERVER['PHP_SELF']; ?>">Link</a>
</p>
Maybe this will reveal something.
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