I have a standard login element I place on the side of each public page if a user is not logged in it simply appears.
Tested logging in different users on different pages with different roles and each gets logged in fine and redirected to their section of the site correct.
**PROBLEM**
If logged in I kill the session so next ajax request triggers the $this->Auth->ajaxLogin so that renders the please login error message and login form. Sure I would love to log back in enter info , submit.
All that happens is page goes white, url directed to login (window url site/login) loading cursor and that’s it, just processing. Nothing ever happens after that. Inspect the request and I see the submitted data, if I hit refresh I get the standard pop up alert “submit request again”, the url ends up being /login.
Not sure why the login form element will log me in anywhere public, but if logged in and session expires the form dies.
Not using security component.
Login action is standard http request, not an ajax request
Debug at 2 shows same thing as debug 0, no error, no message so kind of lost here
I do not know what code you might like to see to help assist with this one….
Thanks all
K
No comments:
Post a Comment