lorena
Well-known member
I have a form and once the user submits it, I have the submit button no longer visible but if the user hits the back button on the browser, the form with all its information is still there. I have tried a variety of things to get the page to expire when the user hits the back button.
Right now, the code at the top of the .aspx page looks like this:
Testing the form, it submits and when I hit the back button on the browser, the original form is there. If I try to hit the forward button, IE tells me the page has expired but I can still hit the back button from there and see the form again.
What else do I need to do?
Thanks for any help.
Right now, the code at the top of the .aspx page looks like this:
Code:
<%@ Page Language="vb" AutoEventWireup="false" Codebehind="premConv.aspx.vb" Inherits="webforms.premConv"%>
<%@ OutputCache Location="None" VaryByParam="None" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Pragma" CONTENT="no-cache">
<META HTTP-EQUIV="Expires" CONTENT="-1">
<meta content="Microsoft Visual Studio .NET 7.1" name="GENERATOR">
<meta content="Visual Basic .NET 7.1" name="CODE_LANGUAGE">
<meta content="JavaScript" name="vs_defaultClientScript">
<meta content="http://schemas.microsoft.com/intellisense/ie5" name="vs_targetSchema">
</HEAD>
What else do I need to do?
Thanks for any help.