At 1:58 PM -0500 3/19/04, John W. Holmes wrote:
From: "Eric Gorr" <[EMAIL PROTECTED]>

 When I visit test1.php with the url:
 http://domain&path/test1.php?name=bill&pwd=henry

I see the output:

 user = 'bill'
 ID= 41699d4461e8fe3a71243bb3cb1c2298'
 You were remembered and are now being redirected to the home page. If
 this fails for some reason (and if you are seeing this, it probably
 has), please click here: To Home Page

 However, upon redirection to test2.php, I see:
 ''
 31e2cab461dc525ea9a8c22e5d997db5

The session ID appears to have changed. Any idea why?

'window.location=\"http://www.ericgorr.net/advciv/test2.php\";', 5000

If I go to "test1.php" at the above URL, I'm redirected to "test2.php" and my "name" is remembered. If it's not working for you, then the session cookie must not be getting set correctly or your browser is not accepting cookies.

Was the session id the same?


I am using Mozilla 1.7a and can use the 'Manage Stored Cookies' feature to see that it is accepting the cookie. The cookies contains the correct session id, displayed from test1.php. When I get to test2.php, the session id is different.

Again, I can use sessions without any problems in other situations with my site, so I do not believe there is a problem with my browser accepting cookies.

Do you have any other ideas?

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



Reply via email to