MySQL storage
I have discovered the PHP changes SIDs randomly ( at least so it seems ) so
the session's
data is not lost ( the MySQL record is there, and the data field is ok, all
variables are there
kindly waiting to be read by PHP :) ), but new sessions are created for same
connection
so I think
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
all i can think of here, you could be calling start_session twice in the
same page ? also init set the session timeout to an hour or so
-Original Message-
From: Puiu Hrenciuc [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 10:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sessions
1. No. If that would be the problem i think that sessions would expire
after the same period of time and not randomly , right ?
2. The site consists in a single page (index.php) that includes
the subpages as needed. The session_start() is at the begining of the
file.
If this would
think of here, you could be calling start_session twice in the
same page ? also init set the session timeout to an hour or so
-Original Message-
From: Puiu Hrenciuc [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 02, 2004 10:13 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Sessions, sessions
I am a little desperate right now since I have tried to solve this
problem for 3-4 days now. I have developed a site that uses sessions for
user authentication and data storage between page access. The development
server is Apache1.3.24/MySQL4.1.0/PHP4.3.3/Win XP Pro The release server
is
Ok.
I've had to wrestle with some peculiar issues with my sessions...
1) If at any point, I give my session a name different than the default
using session_name('XYZ'), my session won't be created. Is there a limit to
the number of characters a session name can have? Capitalization? ANYTHING?
7 matches
Mail list logo