如果用户preSS浏览器的后退按钮到达之前page..then页面应该显示像&QUOT的消息;网页过期"在asp.net [英] if users press the browser's back button to reach the prior page..then page should display a message like "web page expired" in asp.net

查看:59
本文介绍了如果用户preSS浏览器的后退按钮到达之前page..then页面应该显示像&QUOT的消息;网页过期"在asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果用户preSS浏览器的后退按钮到达之前page..then页面应该显示一条消息,像在asp.net中网页过期

if users press the browser's back button to reach the prior page..then page should display a message like "web page expired" in asp.net

我可以使用JavaScript这个???

can i use javascript for this???

例如..

有4页的网站。 1,2和3可以是背面。但是当第4页运行,那么第4页不能回来......当用户preSS浏览器的后退按钮,diaplay MA消息WEG页过期。

there are 4 pages in web sites. 1,2 and 3 can be back. but when the 4th page run then 4th page can not be back... when the user press browser's back button , diaplay ma message "weg page expired".

推荐答案

和Response.Cache.SetCacheability(HttpCacheability.NoCache);

and Response.Cache.SetCacheability(HttpCacheability.NoCache);

这篇关于如果用户preSS浏览器的后退按钮到达之前page..then页面应该显示像&QUOT的消息;网页过期"在asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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