恢复我们停止的页面 [英] Resume the page we left off

查看:68
本文介绍了恢复我们停止的页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的网络应用程序中有某些页面。

我需要加载已关闭的页面。意味着我们关闭浏览器。过了一段时间

打开这个网站,然后显示一个弹出窗口你需要恢复到上次会话。如果确定,请转到预期页面(上次使用的页面)。如何实现。



我使用了Session变量,它只在close tab case中工作。

解决方案

您可以使用Cookie来存储上次使用的页面。

或者如果您要创建允许用户编辑内容的网页(如wordpress),您可以将工作会话保存到服务器数据库中。 / BLOCKQUOTE>

In my web application has certain pages.
I need to load the page which is closed. Means when we close the browser. And after some time
open this website, then showing a popup with "You need to resume to last session". If ok then go to expected page(last used page). How can this implement.

I have used Session variables ,It is working in close tab case only.

解决方案

You can use Cookies to store the last used page.
Or if you are creating web pages that allow users to edit content (like wordpress) you can save your working session into server database.


这篇关于恢复我们停止的页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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