[SOLVED] 8.1.7 Community - Sessions work ?
Posted: Mon Dec 04, 2017 7:49 pm
Hello,
I have installed the community version 8.1.7 on a new server and my already running scripts didn't work correctly (previously used with a commercial 5.x version).
It took me some time to understand what caused the problem : the sessions won't work correctly. Even the simplest code would generate two sessions for one connection
Before to fill any bug report, please is there something I could have missed about the server's requirements or not understood with the engine's evolution, maybe ?
Many thanks
I have installed the community version 8.1.7 on a new server and my already running scripts didn't work correctly (previously used with a commercial 5.x version).
It took me some time to understand what caused the problem : the sessions won't work correctly. Even the simplest code would generate two sessions for one connection
Code: Select all
<?lc
set the sessionsavepath to gMySessionsFolder
set the sessionCookieName to gMySessionsCN
start session
put "test" into $_SESSION["myVar"]
put quote & $_SESSION["myVar"] & quote & "saved to session"
stop session
put empty
?>
<?lc
start session
put quote & $_SESSION["myVar"] & quote & "read from session"
stop session
?>
Many thanks