Force login on Ajax requests
Users often encounter situations when they want to perform an action on a web site and get redirected to login page. Application’s task is to take care of performing the requested action right after user’s successful log in. It is easy job, unless the action is requested via ajax.
Comments
Comment
1 Another idea...
Reading your article gave me an other idea.
If you need more information, i've written a tutorial about ajax elements working without session vars and using ajax element redirection : http://bakery.cakephp.org/articles/view/ajax-elements-available-anywere
Hope it helps!