|
thank you. I will try again. the first time I tried it before any HTML, I got an error about not being able to display the page. I must have had something else wrong. do I still need the 2 newline entries after CONTENT-TYPE: TEXT/HTML or do I put these statements directly after and then do the 2 newline (x'15') characters? ----- Original Message ----- From: <Matt.Haas@xxxxxxxxxxx> To: <web400@xxxxxxxxxxxx> Sent: Thursday, January 26, 2006 8:52 AM 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.