Logout redirect?
Page: 1
I see directions to a class for the .7x version of this but not 1.x. I see the AuthController.Class.php and see that logout goes to login. What specifically do I change to direct it to a specific url?
I also tried creating a new map classs to assist e.g. in the routes but not sure how to encode a URL..
examples: Changed
AuthController.Class.php to be
and then in the routes.php added a new line at the bottom:
When I logout I get this URL:
[domainname]projects/public/index.php/logout%5C.htm
I think I am close but obviously not quite there...can someone assist? :)
I have modified the login to go from our company's web site into AC and wish to return there upon logout.
I also tried creating a new map classs to assist e.g. in the routes but not sure how to encode a URL..
examples: Changed
AuthController.Class.php to be
$this->redirectTo('logout2');
} // logoutand then in the routes.php added a new line at the bottom:
$this->map('logout2','logout.htm');When I logout I get this URL:
[domainname]projects/public/index.php/logout%5C.htm
I think I am close but obviously not quite there...can someone assist? :)
I have modified the login to go from our company's web site into AC and wish to return there upon logout.
One more question Oliver...so sometimes AC breaks and we are automatically kicked out to the default AC login page -- not to the redirect URL. Is there a way to alter the above code so it will always come back to our login page (as opposed to AC's)?
If the program is running and we click the logout the above code works great -- it is only when something happens that it doesn;'t and this happens at least once a day...e.g. we go to download more than one file and the first goes fine but for the second one we get kicked out...
If the program is running and we click the logout the above code works great -- it is only when something happens that it doesn;'t and this happens at least once a day...e.g. we go to download more than one file and the first goes fine but for the second one we get kicked out...
This redirect no longer works under v1.1.1
Is there some new code that will do the same thing?
Is there some new code that will do the same thing?



