Closed (won't fix)
Project:
Login Destination
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Apr 2008 at 10:45 UTC
Updated:
23 Jul 2008 at 12:03 UTC
I want to redirect the user after login to the page he was seeing before. So I set the URL to:
return array(path=>$_SESSION['login_page']);
(or it should be enough return $_SESSION['login_page'];)
After saving I take another Browser and click the login button. Its working fine. I log out and want to log in from another page ... its not working with the new destination (it uses the old one).
Drupal is in normal chaching mode. But also it does not seem to work if I switch off caching.
Comments
Comment #1
ardas commentedIn order to redirect user to the page he was before just uninstall the module or configure it NOT to perform redirect.