Re: Where is my mind ?
- From: "Matthias Ainsworth" <matthias.ainsworth@xxxxxxxxxxxxxxx>
- Date: Fri, 29 Apr 2005 17:46:15 +0200
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" <kenrbnsn@xxxxxxxxx> wrote in message
news:1114785215.387235.273580@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> 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
>
.
- References:
- Where is my mind ?
- From: Matthias Ainsworth
- Re: Where is my mind ?
- From: Ken Robinson
- Where is my mind ?
- Prev by Date: Re: storing months in mysql 4
- Next by Date: Re: POST Method
- Previous by thread: Re: Where is my mind ?
- Next by thread: Re: Where is my mind ?
- Index(es):
Relevant Pages
|