Re: Sessions, sessions and... sessions
| From: | Richard Davey | Date: | Tue, 02 Mar 2004 11:27:28 +0000 |
| Subject: | Re: Sessions, sessions and... sessions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-179221@lists.php.net to get a copy of this message | ||
Hello Puiu,
Tuesday, March 2, 2004, 11:13:07 AM, you wrote:
PH> The site is working just fine on the development server, but when
PH> uploading on release server it keeps losing session data and the
PH> users are logged out of their account in a
Some things to try/think about:
1. Are your sessions/cookies set to expire after a certain time? If
so, is the server in a different time zone to your development server?
2. Are you 100% sure you call session_start() on every page that needs
it before doing any work with the session variables?
3. Does your site cross domains? Sessions will not propagate (unless
you make them).
--
Best regards,
Richard Davey
http://www.phpcommunity.org/wiki/296.html