I added the code you mentioned. Below is the result from the browser. I notice that 
the sessionId is the correct one from the previous page.
I think this is good new.. :)

2
[Array
(
    [PHPSESSID] => 0572d98f00483accdc6e61348b359287
    [loopCount] => 2
)
]

Thanks
moiz


-----Original Message-----
From: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 23, 2003 5:03 PM
To: Golawala, Moiz M (IndSys, GE Interlogix); Daniel Guerrier;
[EMAIL PROTECTED]
Subject: RE: [PHP] PHP not remembering sessions


--- "Golawala, Moiz M (IndSys, GE Interlogix)" <[EMAIL PROTECTED]> wrote:
> I am sorry to call it a cookie.. I see the data in a session file
> (not a cookie)

OK, so you just look in this file manually?

> I don't have a html file. I simply call the .php file by typing the
> url as http://localhost/page1.php

HTML and HTTP are two different things. What I wanted to find out is whether
your browser is sending the cookie when it requests that second page. Put this
code in there:

<p>The cookie data is:
<pre>[<? print_r($_POST); ?>]</pre>

Let us know what that shows.

Chris

=====
My Blog
     http://shiflett.org/
HTTP Developer's Handbook
     http://httphandbook.org/
RAMP Training Courses
     http://www.nyphp.org/ramp

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

Reply via email to