[PHP] session_set_save_handler

2003-09-10 Thread Chris Boget
If the above is called to set user defined session handling functions, is there a way to reset it back to the default PHP session handling? I tried calling it with no arguments but got an error. I've looked in the docs but it doesn't say anything about resetting the handlers. Does anyone know if/

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

RE: [PHP] session_set_save_handler()

2001-11-29 Thread Boget, Chris
> When I run the page this is on, I get a parse error at the line where > function session_open is in the include file (see below) > Any idea why? Thanks Hmm, it doesn't look like there is any reason why you would be getting an error on that line. Have you tried going directly to that page usin

[PHP] session_set_save_handler()

2001-11-29 Thread phantom
I am trying to set up a session setup that saves session data to a mysql database. I have gone into php.ini and set session.save_handler to user. I call the following include file up using session_set_save_handler("open", "close", "read", "write", "destroy", "gc"); (of course I have labeled eac

[PHP] session_set_save_handler question

2001-09-24 Thread Bob Bowker
Hi -- No luck finding an answer to this ... can class methods be registered as the user functions with session_set_save_handler() -- or do I have to create a wrapper outside the class to call the class functions? Using 4.0.3pl1 ... Thanks -- Bob. -- PHP General Mailing List (http://www.p

[PHP] session_set_save_handler

2001-07-30 Thread Wendy Roseberry
We have several small applications that have been using the built-in session functions from php for quite sometime. Recently, I have started using the session_set_save_handler in 3 of those applications. Even though the documentation on php.net says, "Note: You must set the configuration optio