由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
BuildingWeb版 - ASP ,PAGE EXPIRES 代码.
相关主题
Need your help about the page expired.如何创建ASP页
Question on ASP, Help!!!Re: Is BBS.MIT.edu built with CGI or ASP?
[转载] 请教ASP高手Re: 初学乍问:如何让Apache支持ASP?
How to change pages in ASP message boardRe: 一个具体问题,网叶参数的传递
一个java web access的问题ASP & serlet
请教ASP高手.我的网页制作观:要那么时髦干吗?
How many sessions can be in one project?请问ASP在UNIX下能否运行?谢谢
JQuery and Master Pages in ASP.NET请教ASP做购物车的问题。
相关话题的讨论汇总
话题: page话题: session话题: expires话题: back
进入BuildingWeb版参与讨论
1 (共1页)
s***f
发帖数: 173
1
实现了点机BACK BUTTON, PAGE 被提示EXPIRES的功能.有对此功能一直有疑问的,可以来
看看.
Here we go, (FOUR files are required : A.asp B.asp C.asp login.asp by the
way)
A.asp
<%
Response.Buffer = True
Response.ExpiresAbsolute = Now() - 1
Response.Expires = 0
Response.CacheControl = "no-cache"
If Len(Session("FirstTimeToPage")) > 0 then
'The user has come back to this page after having visited
'it... wipe out the session variable and redirect them back
'to the login page
Session("FirstTimeToPage") = ""
1 (共1页)
进入BuildingWeb版参与讨论
相关主题
请教ASP做购物车的问题。一个java web access的问题
Ask Monark: How to solve the string quote problem请教ASP高手.
How to log each user's activities on a certain website?How many sessions can be in one project?
紧急救助:ASP安全问题JQuery and Master Pages in ASP.NET
Need your help about the page expired.如何创建ASP页
Question on ASP, Help!!!Re: Is BBS.MIT.edu built with CGI or ASP?
[转载] 请教ASP高手Re: 初学乍问:如何让Apache支持ASP?
How to change pages in ASP message boardRe: 一个具体问题,网叶参数的传递
相关话题的讨论汇总
话题: page话题: session话题: expires话题: back