Re: Re: why are session only working with cookies?
| From: | Brian V Bonini | Date: | Wed, 18 May 2005 15:26:15 +0000 |
| Subject: | Re: Re: why are session only working with cookies? | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-215489@lists.php.net to get a copy of this message | ||
On Mon, 2005-05-16 at 22:10, Richard Lynch wrote:
> Let him fight with phpIniDir some other day.
Something interesting maybe:
http://gfx.gfx-design.com/session_test.php
Hit your browsers refresh button.
I would think SID is NOT supposed to change with every page refresh..??
<?php
session_start();
header("Cache-control: private");
$_SESSION['test'] = "testing";
echo '<pre>';
print_r($_SESSION);
echo "\nSession Id:" . session_id();
echo "\n" . strip_tags(SID);
echo '</pre>';
?>
--
s/:-[(/]/:-)/g
Brian GnuPG -> KeyID: 0x04A4F0DC | Key Server: pgp.mit.edu
======================================================================
gpg --keyserver pgp.mit.edu --recv-keys 04A4F0DC
Key Info: http://gfx-design.com/keys
Linux Registered User #339825 at http://counter.li.org