Welcome Guest, Not a member yet? Register   Sign In
Firefox 18 sometimes cannot read cookies
#1

[eluser]rogierb[/eluser]
A couple of customers use firefox 18 and cannot log in. If they use IE, Chrome and opera they can.
I cannot reproduce the problem but narrowed it down to reading cookies. In the firefoxes I tested, things work perfectly.

We are using the session library, storing session in the database. I see the session being stored in the database. I know the cookie is being written since the page fails if you disallow writing of cookies.

Now the question, how the h*ll is it possible to write but not read cookies? Is it a plugin? A setting? Is it firefox 18?


#2

[eluser]LuckyFella73[/eluser]
Do you have the latest CI installation? I remeber that up to version Ci ? the session table
was not able to save the user agent string in some cases. With some browsers it was too long
and thus cutted. You could check if this is the problem by setting
Code:
$config['sess_match_useragent'] = FALSE;
in config.php

If that solves the problem you can consider to update your CI version.
#3

[eluser]rogierb[/eluser]
Hi LuckFella73,

The session table has a user agent string and the field length is the same (120) as in the Session library. It shouldnt be that but its something I hadnt thought of. Thanks! The session table is a MEMORY table with custom lengths anyway.

Could it be some weird plugin?




Theme © iAndrew 2016 - Forum software by © MyBB