AnsweredAssumed Answered

How to force a single reload once a user logs into 7.2?

Question asked by Roshan Issac on Jun 18, 2014
Hello Friends,
I want to reload the sugar home page once the user logs in.

i have tried the after_login logic hook and inserted the following javascript code into logic_hooks_class.php in the custom/modules/User folder.

 echo $script = <<<EOT
<script>
window.location.reload();
</script>
EOT;
 
it is giving  "HTTP: 500 Internal Server Error"

then i tried to do with

global $sugar_config;
$link_editView = $sugar_config['site_url'].'/#Home';                  
SugarApplication::redirect(  $link_editView);

but it is not redirecting to Home page,it is still coming to login page itself.

Pls help!!!!! Thanks in Advance



Outcomes