Ok, this seems to not be working anymore in ColdFusion 8 or ColdFusion 9.
Has anyone got how they are expiring pages using ColdBox? When I submit a form, and hit the back button the data is still there and I do not want it, the page needs to come up with a page has expired message.
I have tried the equivalent meta tags with no results so far.
Regards,
Andrew Scott
http://www.andyscott.id.au/
Ok, this seems to not be working anymore in ColdFusion 8 or ColdFusion 9.
Has anyone got how they are expiring pages using ColdBox? When I submit a form, and hit the back button the data is still there and I do not want it, the page needs to come up with a page has expired message.
I have tried the equivalent meta tags with no results so far.
Regards,
Andrew Scott
http://www.andyscott.id.au/
The back button issue is because the browser is caching the page. This is especially true for Firefox. You have to run JavaScript to o er come this. I believe the event is onpagereload but not sure.