Re: [PHP] session_set_save_handler problem

2003-03-06 Thread Duncan
AHA! I found the problem: session_expiration is an unsigned int(11) field type and so session_expiration > now() always results in no match, even when it should be in the on_session_read() function. ...now i need to make sure, that the now() gets the same value type, right? ...any ideas? Thanks

[PHP] session_set_save_handler problem

2003-03-06 Thread Duncan
Hi, i just tried the session_set_save_handler script from Sterling Hughes "PHP Cookbook", which allows to save the session in a MySQL database. However, i ran into a problem: The script works just fine and also saves the session in the database, but it doesn't update the value of the saved data. I