AnsweredAssumed Answered

How can I refresh the entire page after processing an after_login or after_logout logic hook?

Question asked by Jeroen Somhorst on Mar 24, 2014
Latest reply on Mar 24, 2014 by Jeroen Somhorst
Currently I have modified the sidercar.tpl view in order to place custom JavaScript in the head of the page. This javascript should be placed depending on login information of the user, and therefore I have after_login and after_logout Logic Hooks in place that setup and destroy these javascripts. However, the use of Ajax only enables the inclusion of the correct JavaScript when I manually refresh the page.

So I'm looking for a way to refresh the entire page after the login and logout logic hook actions. Thanks in advance!



Outcomes