douhezhan5348
2018-07-17 05:35
浏览 57
已采纳

drupal 7重定向会话超时

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

图片转代码服务由CSDN问答提供 功能建议

我是Drupal的新手。 目前,一旦会话过期,用户不会自动重定向到登录页面 它只有在我重新加载页面时才会重定向。 有任何方法可以自动执行此操作。 谢谢提前

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

1条回答 默认 最新

  • dqppv86022 2018-07-17 09:35
    已采纳

    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

    已采纳该答案
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题