Re: session/login issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Mark" <markw@xxxxxxxxxxxxxx> wrote in message 
news:B9.24.12809.0B9B6F54@xxxxxxxxxxxxxxx
> Gunter Sammet wrote:
>
>> Hi all:
>> I inherited an application using PHP 5.1.4 with MySQL 4.1.20,
>> Apache/2.0.46 (Red Hat) on a VPS server with Plesk 7.5. The 
>> authentication
>> used to work just fine till yesterday. Now it doesn't authenticate
>> anymore. My debugging so far hasn't revelaed much. It seems like the
>> sessions are not started or started and destroyed right away again.
>>  Session handling is done via session class with session data stored in
>>  the
>> database. The database doesn't contain any data but debugging revealed
>> that session data is written to the DB and then immediately deleted.
>>
>> None application of the code has changed. Haven't had a chance yet to 
>> find
>> out if the hosting company changed/updated anything. I suspect it has
>> something to do with the environment but at the moment I am spinning
>> wheels. Any pointers would be appreciated!
>> Thanks,
>
> Check the time on the server. The DST patch may not have been applied and
> that elapsed time for a session could be a negative number.


That did the trick. Thanks for the pointer! 

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux