Hi,

I use header("Cache-Control: private"); to prevent page expiry problem. It is to make browser’s “Back” button work otherwise; page expires if user hits “Back” button to go back and see previous pages.

I have 3 steps buying process.

1. Delivery address selection from radio boxes
2. Creadit card details is typed into textbox etc.
3. Confirmation page with “Confirm” button

When it is confirmed, I want these 3 pages unavailable when “Back” is clicked by users.

How can I do it?

Thanks

May be this will help you,

header("Cache-Control: maxage=1"); //In seconds

No it doesn't work.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.