Due to audit of our client website the testing team told us that after login to admin pannel of website, if any user is idle for more than 5 min then it should redirect to login page.

I set the Session Lifetime to 5min in backend. But problem is this that its logout only when page refresh. Its should logout directly. I am tired too many thing but nothing work.. Please help. Thanks in advance

  • 1
    I'm very surprised the audit didn't flag the use of Joomla 1.5.
    – Lodder
    Jun 4 '18 at 19:55
  • Yes.. They told us to upgrade the joomla version. But upgrading from 1.5 to latest 3.8 is not possible
    – mohan
    Jun 6 '18 at 5:06

Add the following before the closing head tag inside index.Php

    <script type=text/javascript>
setTimeout(' document.location=document.location' ,10000);
  • Its showing error:404 - An error has occurred. Component Not Found
    – mohan
    Jun 6 '18 at 5:14
  • but i just modified your code with this: <script type=text/javascript> setTimeout(function(){ alert("Your session has been expired. Please login again."); window.location.assign("eserverindia.in/dmdesic/administrator"); }, 70000); </script>But this code will activate even if user is not loged in.
    – mohan
    Jun 6 '18 at 7:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.