Problem with Session after upgrading to 2.0.3 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Problem with Session after upgrading to 2.0.3 (/showthread.php?tid=46534) |
Problem with Session after upgrading to 2.0.3 - El Forum - 11-04-2011 [eluser]grolle[/eluser] Hi, I use a small user authentication class. It works fine but after upgrading from 2.0.1 to 2.0.3 all session userdate is lost after doing a redirect. First some code: Code: //Auth library Main Controller for login : Code: ... and with the following I'm always redirected to the main Controller. Why?: Code: <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); If I do a print_r in this constructor to dump session data all userdata which is set in the Auth library is lost. Any suggestions? Best regards, Stefan |