A drop-in replacement for PHP's default session handler which stores session data in a MySQL database, providing better performance, better security and protection against session fixation and session hijacking
I am using this code for Single sign on app as below. I don't need to write require because I use autoloader of framework.
class 1:
$session = new Zebra_Session($link, 'sEcUr1tY_c0dE');
session_start();
$id = session_id();
.... // I want to use this id in another timing...
class 2:
session_id($id);
$started = session_start();
I already changed session.use_strict_mode from true to false. but it still does not work.
How should I change session id using session_id()?
Please give me your advice if you have any ideas. Thank you!
Hi, Thank you for providing this code.
I am using this code for Single sign on app as below. I don't need to write require because I use autoloader of framework.
I already changed
session.use_strict_mode
from true to false. but it still does not work. How should I change session id usingsession_id()
? Please give me your advice if you have any ideas. Thank you!