Forum Moderators: coopster

Message Too Old, No Replies

how to expire a page

e.g. sales confirmation page

         

jamie

12:11 pm on Jun 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



hi,

every successful purchase in our shop will display a voucher which the customer can print out and exchange for goods.

the voucher is only displayed if payment has been correctly made, so there is no chance of someone accessing this page by mistake.

however, is there a way to stop the voucher re-appearing if someone clicks away and then back to the page? so we can put a message "please print this page before you click away", (and that if they do click away the page is lost forever)

(we will of course be mailing them the same voucher)

many thanks

Timotheos

3:44 pm on Jun 3, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Have you played around with disabling caching either with the meta tags or headers?
Refer to this article at sitepoint: [sitepoint.com...]

jamie

9:43 am on Jun 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



hi timotheos,

thanks for link. not exactly what i was looking for, but interesting reading.

i have tried adding the expires headers, etc, but AFAIK, just clicking back and forth with the forward and back buttons, it is impossible to stop the page from being seen again.

but it doesn't matter in the case above, as my confirmation page can only be accessed by a successful POST'ed order.