Hi...
I'm using session_set_sav e_handler() and have defined some functions to
store session data in a database. It all works marvellously. Except for one
small thing. If I do something like:
...
if(isset($_SESS ION['my_variable']))
...
the system calls the sess_write function, but passes an empty string as the
session variable parameter. Is this correct? I'm getting around this by
using an if clause and returning false if it's an empty string. This seems
to work ok. But is this correct behaviour? Or is it a bug?
TIA.
Plankmeister.
I'm using session_set_sav e_handler() and have defined some functions to
store session data in a database. It all works marvellously. Except for one
small thing. If I do something like:
...
if(isset($_SESS ION['my_variable']))
...
the system calls the sess_write function, but passes an empty string as the
session variable parameter. Is this correct? I'm getting around this by
using an if clause and returning false if it's an empty string. This seems
to work ok. But is this correct behaviour? Or is it a bug?
TIA.
Plankmeister.
Comment