session already active dont create session ID
-
Thanks for creating this plugin, it has helped me get a plugin working, although i am getting an error message in the debug log. The error doesn’t seem to be causing any issues though as the plugin is creating the session in the database.
I was just wondering, on line 39 in callbacks.php, if i comment out this code the error goes away.
line 39 –
session_id( md5( $hasher->get_random_bytes( 32 ) ) );
My question is, am i breaking anything by doing this or is there a safer way as opposed to commenting the line out?
I tried writing an if statement
if (!session_id()) { session_id( md5( $hasher->get_random_bytes( 32 ) ) ); }
However this doesn’t seem to stop the error message.
Many thanks
Stevan
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘session already active dont create session ID’ is closed to new replies.