Dodo_vbulletin3_import24487
New Member
I did 30+mins research and I can't figure out what the problem is. I'd like to prevent a user from hitting back in the browser and looking at the page again. How do I prevent it? I did tons of research and looking at the headers my bank sent out and still can't figure out what the problem is.I must support firefox but having it work on other browsers is good too. The headers I put out are (which I confirmed by looking at my what my browser thinks the response is)\[code\]Expires: Thu, 01 Jan 1970 00:00:00 GMTPragma: No-cacheCache-Control: no-cache\[/code\]In html I start with\[code\]<!DOCTYPE html><html><head> <title>The Title</title> <link href="http://stackoverflow.com/my.css" rel="stylesheet" type="text/css" /> <META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE"> <META HTTP-EQUIV="EXPIRES" CONTENT="Thu, 01 Jan 1970 00:00:00 GMT"> <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"></head>\[/code\]When I submit my form and hit back I can still see the page. I want to the browser to say document expired/invalid or have all the html reset so the form doesn't have user data still there. How do I do this?