The session ID is constantly changing on every page refresh or change.

im having session issues my sessions are not persistent because the session id is constantly changing every time i refresh or change the page.

I tried to add a dummy session (ze) after starting the session to prevent it, but the session id keeps changing, oddly enough it works fine and doesn't change on chrome, this problem only occurs with other browsers.

session_save_path () is writable, I tested with

if ( !is_writable(session_save_path()) ) {
   echo 'Session save path "'.session_save_path().'" is not writable!'; 
}

      

my server is not local and php version is 5.3.5

session_start();
$_SESSION["ze"] = "lalal";

      

+3


source to share





All Articles