CodeIgniter Forums
I Can't Get My Sessions To Work Right - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: I Can't Get My Sessions To Work Right (/showthread.php?tid=61219)

Pages: 1 2


I Can't Get My Sessions To Work Right - El Forum - 10-20-2014

[eluser]InsiteFX[/eluser]
IE converts the under score to a chr (9) character dig deeper.

And if I have an under score in my cookie name my sessions no longer work!

After removing the under score then the sessions will work.

Cookie name with under score


I Can't Get My Sessions To Work Right - El Forum - 10-20-2014

[eluser]Narf[/eluser]
[quote author="InsiteFX" date="1413841943"]IE converts the under score to a chr (9) character dig deeper.

And if I have an under score in my cookie name my sessions no longer work!

After removing the under score then the sessions will work.
[/quote]

Add two. Wink
Seriously, if you've got issues with an added underscore, it's likely due to a collision. Even if IE sends the character url-encoded, HTTP servers will decode it and still recognize it properly.

I'll say this again: the very link that you gave sends cookies with underscores; microsoft.com does too.