Search code examples
phpsessiondrupaldrupal-7

drupal 7 redirect on session time out


I am new to Drupal. Currently, The user is not redirected automatically to login page once the session gets expired instead it redirects only if I reload the page. Is there any way to automate this. Thanks in advance


Solution

  • This could be an interesting option for you, the following module will show you an automate popup when the session is going to expired, then user can choose if want to close its session or wants to continue logged. If the user choose to close its session, it will be redirect to the login page. And if the user doesn't choose any option, it will automatically redirect to the login page. enter image description here

    enter image description here

    https://www.drupal.org/project/autologout