Microsoft
Software
Hardware
Network
Question : Disabling or Expirying Browser's Back button
Hello Experts,
For security reasons, i there any way to disable the browser's back button, or at least, show "page expired" or something - like most banks do.
I'm trying to do this after processing a payment.
Thank you.
Answer : Disabling or Expirying Browser's Back button
Add this before any html tag on the page:
<%
Response.Expires = -1
Response.Expiresabsolute = #1/1/1980#
Response.AddHeader "pragma","no-cache"
Response.AddHeader "cache-control","private"
Response.CacheControl = "no-cache"
%>
Random Solutions
Access 2003 -> Word 2003 - have a question on code that works to save doc as pdf file...
Code was working in Android 2.1 SDK but not on 2.2
SPSS - Modify Output of Crosstabs
Why Not able to read excel file in the Web application running on Windows7/Office2010?
What does it mean if I am receiving output errors on all of my Cisco Aironet 1130AG?
Mac Mail only shows 90 days of deleted items
Replace sring on the first line and then replace ALL the following string(2 to eof)
Sort Mysql table with recent entries
Dot Net Written Test and Interview questions, Can any 1 suggest link
Popup not working in IE