Sessions not working on CI 3 |
Hi;
I create session manually and it works fine locally but not when I upload it to server. Can anyone see what I am doing wrong? 'Thanks Creating session in controller PHP Code: if($_POST) Viewing..well trying to PHP Code: if(isset($_SESSION['comment_added']))
You should see what session driver you're using. Most likely you're using file driver. If that is the case, you must make sure the directory mentioned inside the config.php is writable: http://www.codeigniter.com/user_guide/li...les-driver
Website: http://avenir.ro
|
Welcome Guest, Not a member yet? Register Sign In |