Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > IE8 / IE9 cookie and login issues View modes: 
User avatar
Certified Developer v6
Certified Developer v6
hoppe - 9/11/2012 2:05:16 PM
   
IE8 / IE9 cookie and login issues
A few users of my site have had trouble logging in. The user, using IE8 or 9, is not logged in, and receives the standard logon form.

The user enters the correct username and password, but the logon form just reloads without displaying an error message. We had the user click around on the site to confirm that they are not yet logged in. We also reset the user's password to confirm that they were entering the correct information.

However, if you go to the event log, the site reports that the authentication was successful for that user.

Going in through in-private browsing, or deleting the cookies resolves the issue. The user can then get the logon form and log in successfully.

Has anyone else had this problem? We are looking to develop a solution because we do not know how many users are having this problem, and do not want to inhibit them from using our site.

Thanks!

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 9/12/2012 2:51:36 AM
   
RE:IE8 / IE9 cookie and login issues
Hello,

it seems that the authentication cookies were not saved. Can you check whether the cookies are created when you notice the logging issue? It usually happens when the browser does not allow saving cookies.

You can implement a custom functionality which will display a warning/error message if the cookies are disabled. See for example: http://briancaos.wordpress.com/2009/05/11/check-whether-clients-browser-have-cookies-enabled/. It will inform users that they need to enable cookies for this site.

Best regards,
Helena Grulichova

User avatar
Certified Developer v6
Certified Developer v6
hoppe - 9/17/2012 12:09:12 PM
   
RE:IE8 / IE9 cookie and login issues
Hi Helena,

We were able to resolve the issue by getting the user to clear their cookies. We didn't specifically change their settings to enable cookies though...

We'll keep an eye out for this while we find a computer that we can readily reproduce it on.

If anyone has experienced something similar, please let me know!

Thanks!

User avatar
Member
Member
mosgath - 11/9/2012 3:21:26 PM
   
RE:IE8 / IE9 cookie and login issues
I seem to be having a similar issue, but it occurs in IE and Chrome. Cookies and history cleared. I added the Mini Logon webpart to my home page. I log on as a domain user. The user profile is updated with last logon date. The control redirects back to my home page with a custom query string that I used to just verify that the webpart thought I was logged on. Content displays as if I am not logged on and the Login control is displayed versus the user info. If I Impersonate a user from CMSDesk, the home page displays as expected.

Another interesting twist to this issue is that a page that I limit to a specific group is available in my menu. When I navigate to it, some of the images for the secured documents display. But each time I refresh the page, different ones display while others do not. If I don't secure the page, the images load fine each time. I hoping that if I resolve the issue with the logon, it will resolve the issue on the internal page.

I am running 7.0.3.

User avatar
Member
Member
mosgath - 11/12/2012 1:45:04 PM
   
RE:IE8 / IE9 cookie and login issues
I figured out the issue. The Authentication mode in the web.config was still set to "Windows" because of how we configured security for CMSDesk. I changed this to "Forms" along with the mixed-authentication settings. This now works for the website login. Now to review the CMSDesk security settings again.