Welcome Guest, Not a member yet? Register   Sign In
Sessions not working in IE 7
#11

[eluser]Sumon[/eluser]
Exactly matches with one of my site. You mean, not only in IE7 but also in Firefox sometimes if visitor sign out and login again, the system not work fine. You are using CI session library. right? If it is i strongly suggest you to use REDUX authentication. It's really nice and never get this sort of problem. Here is the link: http://code.google.com/p/reduxauth/
#12

[eluser]austindev[/eluser]
I have run into this problem as well, and I have found a solution from the MSDN forums (lost the link, sry) the issue is the name of the session cookie name. By default the session cookie is called "ci_session". It would seem that IE7 does not like "_" (underscores) in the name.

I changed the following (the default):
Code:
$config['sess_cookie_name']        = 'ci_session';

to the following:

Code:
$config['sess_cookie_name']        = 'cisession';

and everything worked fine.
#13

[eluser]clariz[/eluser]
[quote author="Sumon" date="1220961579"]Exactly matches with one of my site. You mean, not only in IE7 but also in Firefox sometimes if visitor sign out and login again, the system not work fine. You are using CI session library. right? If it is i strongly suggest you to use REDUX authentication. It's really nice and never get this sort of problem. Here is the link: http://code.google.com/p/reduxauth/[/quote]

I'm sorry for the late reply Sumon...
Thanks for the info about the REDUX authentication.
But I already switched to native PHP sessions to solve my problem about sessions..
But I really appreciate your kindness.
Thanks a lot. I'll just try that one to have a new experience.

Thanks

clariz :-)
#14

[eluser]clariz[/eluser]
[quote author="austindev" date="1221121785"]I have run into this problem as well, and I have found a solution from the MSDN forums (lost the link, sry) the issue is the name of the session cookie name. By default the session cookie is called "ci_session". It would seem that IE7 does not like "_" (underscores) in the name.

I changed the following (the default):
Code:
$config['sess_cookie_name']        = 'ci_session';

to the following:

Code:
$config['sess_cookie_name']        = 'cisession';

and everything worked fine.[/quote]


Thanks austindev
I will try that one too in my experiment.
I'll just post if I got any changes..
Thanks for the info.
#15

[eluser]Derek Allard[/eluser]
Underscores? Really? Wow. Can anyone else confirm this?
#16

[eluser]Popcorn[/eluser]
http://ellislab.com/forums/viewthread/79297/

Also mentioned it there Derek.
#17

[eluser]Derek Jones[/eluser]
[quote author="clariz" date="1221122836"][quote author="austindev" date="1221121785"]I have run into this problem as well, and I have found a solution from the MSDN forums (lost the link, sry) the issue is the name of the session cookie name. By default the session cookie is called "ci_session". It would seem that IE7 does not like "_" (underscores) in the name.

I changed the following (the default):
Code:
$config['sess_cookie_name']        = 'ci_session';

to the following:

Code:
$config['sess_cookie_name']        = 'cisession';

and everything worked fine.[/quote]


Thanks austindev
I will try that one too in my experiment.
I'll just post if I got any changes..
Thanks for the info.[/quote]

Did this fix it for you as well, clariz? If so, I find that solution troubling since it would seem to not be the actual issue. I say that because some of the highest traffic sites on the internet that cater to the IE crowd (Amazon, CNN, ESPN, Microsoft's own site, etc.) use underscores in cookie names just fine, so that's obviously not the actual issue. I wouldn't discount that it's somehow corollary, but it is not causative.
#18

[eluser]Jake Grice[/eluser]
I had the same problem, and the solution was as simple as removing the underscore.


My login form worked perfectly for Firefox, Google Chrome, Safari.. IE comes along, and won't log in!! I thought my whole project was terribly ruined..

But alas, I discovered this thread (prior to creating a forums account here).
#19

[eluser]Derek Jones[/eluser]
Are you using underscores in either your path or domain Jake? Or was it only in the cookie name? The documents that austindev was referring to but could not find the links (I searched all of MS's kb articles and found it repeated a number of times) all deal with underscores in host/server and path names, which do indeed violate the spec, i.e. my_subdomain.example.com.

Quote:Internet Explorer does not send domain cookies when the server name contains an underscore character
#20

[eluser]kyko[/eluser]
Hello Fella's,

I also have this problem. And i've tried all the suggestions you guys throw but i still have the same problem. Funny thing is in some IE7, the application works, but in others, it doesn't. I was wondering if a patch is communicated regarding this issue. Perhaps, all those IE7 that worked was patched and those that doesn't failed to update.




Theme © iAndrew 2016 - Forum software by © MyBB