CodeIgniter Forums
Problems with IE9 - 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: Problems with IE9 (/showthread.php?tid=54491)



Problems with IE9 - El Forum - 09-11-2012

[eluser]Unknown[/eluser]
Hello

I'm having some problems with IE9 and sessions. I've already configured 'allow cookies' on tools->privacy->advanced, and set $config['sess_match_useragent'] = FALSE on config.php.

I'm rendering page content according to session data. All is OK until I make an AJAX call to some controller. After this AJAX call, when the user clicks on an anchor/link that uses this rendering, the value from sessions is resetted, as if it goes to index() again.

Any help would be greatly appreciated.
Thank you


Problems with IE9 - El Forum - 09-11-2012

[eluser]deqer[/eluser]
I never needed to fiddle with that.

Make sure your cookie path is / and the domain does not include www, ".mysite.com" I think.

Make sure you PHP "exit;" at the end of your code.