|
|
|
|
|
| | |
| |
vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
|
|
Subject: |
Re: Session variable persistence |
|
From: |
Mike Bell |
|
Date: |
6/28/2000 10:29:39 AM |
|
IP: |
209.47.108.158 |
If you have a hidden frame on your page (height of zero), and in that page you have an asp page which calls itself every 5 minutes, and you have caching turned off, the session variable will never expire because the calling of an ASP page resets your timeout count. (Yes I know that that was a run on sentence)
For example:
<%@ LANGUAGE="VBScript" %>
<%
Response.AddHeader "Pragma", "No-Cache"
Response.Expires=0
%>
<html>
<head>
<meta http-equiv="refresh" content="300; URL=bottomblank.asp">
</head>
<body bgcolor="white" topmargin=0>
</body>
</html> |
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|