Showing posts with label login. Show all posts
Showing posts with label login. Show all posts

Sunday, November 28, 2010

MODx IE login problem

It seems that Internet explorer has some problem with login on "some" machine.
The culprit result to cookie issue, where by resetting cookie on the client browser seems to fix the issue.
But asking user to clear their cookie is a near to impossible things todo.

A nice tweak would be resetting the cookie via javascript on the login form itself.
Example:
document.cookie = "PHPSESSID=; __utma=; __utmc=; __utmz=; __utmb=; path=/; domain=.example.com; expires=Thu, 01-Jan-1970 00:00:01 GMT;";