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
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
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?
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 each function
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
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
6 matches
Mail list logo