If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Clearing page contents

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-19-04, 11:03
sypher sypher is offline
Registered User
 
Join Date: Jan 2003
Location: Scotland
Posts: 17
Talking Clearing page contents

Hi,

I am displaying sensitive information on screen. This information is displayed depending on the users login. What I want to do is make the sensitive page unavailable if the user clicks the back arrow when they move on (Expire the page). I've seen this on e-commerce sites where you click back to the page before and it informs you that it's expired. Does anyone know how to do this with VBScript?
I have timeouts and do not hold the page in Cache but it still appears.

Cheers

S
Reply With Quote
  #2 (permalink)  
Old 05-20-04, 19:34
rokslide rokslide is offline
Registered User
 
Join Date: Nov 2003
Location: Christchurch, New Zealand
Posts: 1,617
try adding this to your pages
Code:
<% Response.CacheControl = "no-cache" %>
<% Response.AddHeader "Pragma", "no-cache" %> 
<% Response.Expires = -1 %>
Reply With Quote
  #3 (permalink)  
Old 05-23-04, 20:48
fisya fisya is offline
Registered User
 
Join Date: Mar 2004
Posts: 53
same problem..

hi....i have the same problem like u....have u solve your problem...any tips for me
Reply With Quote
  #4 (permalink)  
Old 05-23-04, 21:10
Seppuku Seppuku is offline
Useless...
 
Join Date: Jul 2003
Location: SoCal
Posts: 721
Fisya.. have you even tried the code yet? Rokslide posted the same answer in your thread..

Give it a chance..

http://www.dbforums.com/t998836.html
__________________
That which does not kill me postpones the inevitable.
Reply With Quote
  #5 (permalink)  
Old 05-24-04, 00:34
fisya fisya is offline
Registered User
 
Join Date: Mar 2004
Posts: 53
i've tried it

yes..i have tried it.....but it cannot work....i believe i might done a mistake there...but i cannot detect any mistake....i really need some help there
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On