Welcome Guest, Not a member yet? Register   Sign In
Save long string in session
#1

[eluser]Atas[/eluser]
Hello, i have a problem.

I am trying to save a string that contains 8000 characters in a session variable.

The error is on _set_cookie function in Codeigniter's Session library, precisely in php native setcookie function (Line 655).

I am getting an Internal Server Error. If i save a string with less characters works fine.

Does anybody know what is happening?. 8-/
#2

[eluser]InsiteFX[/eluser]
That's because Cookies can only handle 4 kb of data!

Use the CodeIgniter Database Sessions.

Enjoy
InsiteFX
#3

[eluser]Atas[/eluser]
F.u.c.k... i am going to use database sessions.

Thanks!




Theme © iAndrew 2016 - Forum software by © MyBB