Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2003
    Location
    Scotland
    Posts
    17

    Talking Unanswered: 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

  2. #2
    Join Date
    Nov 2003
    Location
    Christchurch, New Zealand
    Posts
    1,618
    try adding this to your pages
    Code:
    <% Response.CacheControl = "no-cache" %>
    <% Response.AddHeader "Pragma", "no-cache" %> 
    <% Response.Expires = -1 %>

  3. #3
    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

  4. #4
    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.

  5. #5
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •