如何显示相同的网页(即会话已过期) [英] how to show the same webpage (i.e where the session has expired )

查看:224
本文介绍了如何显示相同的网页(即会话已过期)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当用户再次登录时如何显示相同的网页(即会话已过期的地方)

how to show the same webpage (i.e where the session has expired ) when user log in again

推荐答案

您必须使用每个请求,因为您永远不知道会话将由于不活动而终止,并且会话中的任何数据都将永久丢失.
You would have to store the state of the site with every request, because you never know when the session will end due to inactivity and any data that is in the session is permanently lost at that point.


这篇关于如何显示相同的网页(即会话已过期)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆