|
Content-type: text/html\n Cache-Control: no-cache\n Pragma: no-cache\n Expires: 0\n\n <html> <head> </head> <body> </body> </html> Oh, and don't forget the "dash" in the Content-Type header. <vbg> -Bob Cozzi www.RPGxTools.com RPG xTools - Enjoy programming again. -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Matt.Haas@xxxxxxxxxxx Sent: Thursday, January 26, 2006 7:52 AM To: web400@xxxxxxxxxxxx Subject: Re: [WEB400] Prevent Brower From Going Back To Credit Card Page They are *NOT* HTML headers, they are HTTP headers. You need to send them before you write any HTML out. Matt -----Original Message----- From: web400-bounces@xxxxxxxxxxxx [mailto:web400-bounces@xxxxxxxxxxxx] On Behalf Of Joe Giusto II Sent: Wednesday, January 25, 2006 5:45 PM To: Web Enabling the AS400 / iSeries Subject: Re: [WEB400] Prevent Brower From Going Back To Credit Card Page Do these go before the <HEAD> tag? ----- Original Message ----- From: <Matt.Haas@xxxxxxxxxxx> To: <web400@xxxxxxxxxxxx> Sent: Wednesday, January 25, 2006 4:49 PM Subject: Re: [WEB400] Prevent Brower From Going Back To Credit Card Page <SNIP> Another thing you can do (you should actually do this anyway since you don't want transactional data cached) is make sure that you're doing a POST and write out the expire HTTP headers (these go after the Content-Type header): Cache-Control: no-cache Pragma: no-cache Expires: 0 When a person hits the back button, they'll get an error about expired data.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.