PHP Classes
elePHPant
Icontem

Warning messages from Second Session Start

Recommend this page to a friend!

      PHP Classes blog  >  Fix the AJAX Requests...  >  All threads  >  Warning messages from Second Session...  >  (Un) Subscribe thread alerts  
Subject:Warning messages from Second Session...
Summary:To eliminate warning messages
Messages:2
Author:Wayne Franklin
Date:2015-05-04 14:23:13
Update:2015-05-04 23:16:20
 

 


  1. Warning messages from Second Session...   Reply   Report abuse  
Wayne Franklin - 2015-05-04 19:47:06
session_start();
...
session_write_close();
...

ini_set('session.use_only_cookies', false);
ini_set('session.use_cookies', false);
ini_set('session.use_trans_sid', false);
ini_set('session.cache_limiter', null);
session_start(); // second session_start

  2. Re: Warning messages from Second Session...   Reply   Report abuse  
Eslam Mahmoud - 2015-05-04 23:16:20 - In reply to message 1 from Wayne Franklin
Thanks for sharing, can you add comments/description to your code to help more developers.