Welcome Guest, Not a member yet? Register   Sign In
another ci session problem
#1

[eluser]Unknown[/eluser]
Hi!

Any suggestions would be appreciated with the following problem:

CI session cannot find its session id after posting data and starts a new empty session.
Last time i got this error was when i posted large amounts of form data (100+ fields), i started to investigate and it turned out, that if i set the forms enctype to text/plain the error does not occur. Im not using any special chars in the names for the inputs, so standard encoding should work fine.
I think it might be a problem with the size of the posted data, becaouse when i randomly remove some of the fields on the form everything works fine with default enctype.

Shall i post this in bugs section? Big Grin
#2

[eluser]Zeeshan Rasool[/eluser]
I also faced this issue and posted here CHECK THAT What i found is that there may be some extra spaces in libraris and code outside Php tags. when i clear these issues my session works well but not totally overcome this issue yet. On some servers it makes problems little.
#3

[eluser]Unknown[/eluser]
Thanks for the response. I don't really think that's my problem, because i do not use the php closing tag, as mentioned in CI's Style Guide, but i'll check. I will try the underscore ie7 solution, but thats another thing.

My problem is that if a certain number of values get posted, the session can't find its cookie, and data is lost, as if some buffer would get overflown. I've tested this in every browser, the same thing happens in them.




Theme © iAndrew 2016 - Forum software by © MyBB