Problem with login in ie 8 Problem with standard login in internet explorer 8
Posted 04 January 2012 - 02:49 PM
I've got strange problem with login from in internet explorer 8. Authentication works from localhost - i.e. localhost/mysite/site/login, but it doesn't works from domain mysite/site/login.
In another browsers it works ok. Whats the problem? How can I fix it?
Posted 04 January 2012 - 07:45 PM
Set up a virtual host, or use another browser.
I found this post. It said by design the domain name must contain two dots, or it will be regarded as invalid by the browsers. So use "127.0.0.1" instead of "localhost" might solve the problem
Posted 04 January 2012 - 07:46 PM
It sounds like it works fine from localhost, but breaks when moved to a remote server, not the other way around, I think.
Posted 04 January 2012 - 07:57 PM
After read it for while, it seems you are right...
Since it is not on the localhost, I am not sure too about this login problem in IE8. But usually in the browser based problem, there is big probability the problem caused by cookie.
What the login problem exactly? Does the problem occurred when the user login with "remember me" signed?
Posted 05 January 2012 - 04:04 AM
You are right - it isn't YII problem, and yes - it is problem with session cookie.
I've had domain name with underscore (site_dev.com). IE has problems accepting cookies from subdomain's that dont follow the URI RFC. (ietf.org/rfc/rfc2396.txt).
Thanks for all raeplys.
Posted 22 March 2013 - 01:18 AM
I have same problem Jacek . I developed shopping cart application. in that I use Yii login process.it running good in firbox and chrome but could not able to login in Internet Explorer (IE). when use IP address and folder name I can able to login but when I use domain name I cannt able to login in IE. I dont know what is the problem please help me .