Skip to content
Snippets Groups Projects
Commit 5fd4839e authored by Jaime Perez Crespo's avatar Jaime Perez Crespo
Browse files

Bugfixes: the PHP session handler only fetches the cookie configuration...

Bugfixes: the PHP session handler only fetches the cookie configuration parameters if session_id() returns a non-empty ID. This won't happen if the application initialized a session previously, hijacking the session and causing all kinds of trouble. Instead, we need to detect if there's an active session, save its parameters and close it. After closing it, we can name a new session and set the cookie parameters.
parent d5480a99
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment