Hi Ken,
A sample code will not help much...
But here it is :
session_start();
if (!isset($_SESSION["count"]))
$_SESSION["count"] = 1;
else
$_SESSION["count"] ++;
echo $_SESSION["count"];
I know this one works.
Every time I call this script a new session file is created (I don't know
why previous is not reused)... and it remains pretty empty.
Everytime I refresh this page, Apache log file (access.log) reports :
127.0.0.1 - - [29/Apr/2005:17:35:36 +0200] "GET /test.php HTTP/1.1" 200
41765
127.0.0.1 - - [29/Apr/2005:17:35:37 +0200] "GET
/test.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 4459
127.0.0.1 - - [29/Apr/2005:17:35:37 +0200] "GET
/test.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2974
Any idea what this is (PHPE...) ? It is not my session ID... so ?
--
@+
"Ken Robinson" <ke******@rbnsn.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Matthias Ainsworth wrote: Hi,
Strange things happening on my server (a little XP machine...) !
Session files (sess_xxxxx...) are created well but they remain
empty... always ! My session variables never get stored !
Sample code please? Can't debug problems with seeing code.
Ken