在网站后台中,一般会设置session的过期时间。如超过30分钟无操作后,再次操作会跳转到登录页。 不过也可能存在一个问题,比如后台的内容编辑,如果编辑的内容未提交而且超时了,那提交时跳转登录的话内容可能会丢失。