Fix uses of session_start($_GET['id']) #19
Labels
BUG
Code cleanup
Priority 2
These are normal bugs that don't break site functionality, but don't necessarily work well.
session_start pre 7.0 didn't accept any parameters and post 7.0 accepts an array to override session INI directives. It looks like the code is trying to set the session ID to use if psased one via the
$_GET
superglobal ($_GET['session_id']
), which you'd accomplish via the session_id function instead which does accept a parameter that allows you to set an ID to use (so long as you call it before session_start).You would therefore most likely want to change all instances of:
to be:
The same thing applies for the places that use the
$_POST
superglobal as well.The text was updated successfully, but these errors were encountered: