Welcome Guest, Not a member yet? Register   Sign In
CI 1.7.3 cookies on Mac OS Safari not showing
#1

[eluser]Enalds[/eluser]
hi i got a problem about mac os safari browser is not showing any cookies.

somebody help me? thanks.
#2

[eluser]sblaas[/eluser]
Have you got anymore informatie ? ( what code are you using to set / retrieve cookies etc )


[quote author="Enalds" date="1304434661"]hi i got a problem about mac os safari browser is not showing any cookies.

somebody help me? thanks.[/quote]
#3

[eluser]Enalds[/eluser]
I'm using this

$this->session->set_userdata(array("test" => $name));

EDIT: My problem is now fixed. I use native sessions.
#4

[eluser]WanWizard[/eluser]
That is not "fixed". That is worked around.

If native sessions work, that only means that PHP's default config of the cookie parameters is better than yours. In the end, ALL session solutions work the same way.
Configure the session and cookie parameters properly, and switch back to CI's session class. It's more secure.

When you hit an issue, debug it, and fix the problem. Working around it leads to sloppy code.




Theme © iAndrew 2016 - Forum software by © MyBB