Re: Re: why are session only working with cookies?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux