RE: [PHP] PHP not remembering sessions
| From: | Chris Shiflett | Date: | Thu, 23 Oct 2003 21:03:25 +0000 |
| Subject: | RE: [PHP] PHP not remembering sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-167362@lists.php.net to get a copy of this message | ||
--- "Golawala, Moiz M (IndSys, GE Interlogix)" <Moiz.Golawala@ge.com> 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