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

[eluser]Ignacio[/eluser]
Thanks! Thanks! without "_" works on IE7 now. Thanks! Stupid bug, IE7 really really suck, oh sheesh!
#32

[eluser]Derek Jones[/eluser]
You might reread this thread closely, Ignacio, the underscore causing a problem is an indirect symptom, not the cause.
#33

[eluser]Ignacio[/eluser]
Yes, Derek you right, but I must say that the underscore thing fix my problem on IE7.
Great framework by the way Derek, I have a little "wishlist", but I know that will become true soon.

Bye!
#34

[eluser]danostuporstar[/eluser]
I also had this issue and removing the underscore fixed the problem for me. CI Version 1.7, with default session settings. Thanks to austindev for posting fix.

By the way, the problem wasn't present in IE version 7.0.5730.13, but was in version 7.0.5730.11.
#35

[eluser]Peter Korsuize[/eluser]
My two cents (after wasting a few hours trying to log in using IE):

With regards to codeigniter cookies, IE7 does not like underscores in DOMAIN NAMES, as reported earlier in this thread. The underscore in the cookie name ci_session does not appear to be a problem.

Fortunately I only had an underscore in my test setup domain name. But I should have known better. Normally speaking you won't be allowed to register a domain name with an underscore in it to my knowledge.

But it was a good excuse to upgrade from CI 1.61 to 1.71 Smile in my attempts to kill this dragon.
#36

[eluser]BD-CI-Programmer[/eluser]
I have fetched same problem. When I remove ‘_’. Its work first time but next time its does not work.
Please help me
#37

[eluser]Peter Korsuize[/eluser]
[quote author="BD-CI-Programmer" date="1235487437"]I have fetched same problem. When I remove ‘_’. Its work first time but next time its does not work.
Please help me[/quote]
Where did you remove the underscore from?
#38

[eluser]BD-CI-Programmer[/eluser]
Code:
$config['sess_cookie_name']        = 'ci_sessions';
$config['sess_expiration']        = 36000;
$config['sess_encrypt_cookie']    = TRUE;
$config['sess_use_database']    = FALSE;
$config['sess_table_name']        = 'ci_sessions';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent']    = TRUE;
$config['sess_time_to_update']     = 300;

My new code

Code:
$config['sess_cookie_name']        = 'cisessions';
$config['sess_expiration']        = 36000;
$config['sess_encrypt_cookie']    = TRUE;
$config['sess_use_database']    = FALSE;
$config['sess_table_name']        = 'cisessions';
$config['sess_match_ip']        = FALSE;
$config['sess_match_useragent']    = TRUE;
$config['sess_time_to_update']     = 300;


Please reply me very soon. I need this solution very ursent
#39

[eluser]Peter Korsuize[/eluser]
[quote author="Peter Korsuize" date="1235490573"][quote author="BD-CI-Programmer" date="1235487437"]I have fetched same problem. When I remove ‘_’. Its work first time but next time its does not work.
Please help me[/quote]
Where did you remove the underscore from?[/quote]

Ok, what version of CI are you on and what is the domain name of the site that you are experiencing problems with (does it contain an underscore)?
#40

[eluser]BD-CI-Programmer[/eluser]
Thanks for your reply.
I am using 1.7.1
Please help me




Theme © iAndrew 2016 - Forum software by © MyBB