What I'm doing is simple:
page1 (POST)-> model2 -> Page2 -> Page3
When accessing Page2 by clicking 'Back' button of browser from Page3,
I get "Webpage has expired"(IE) or "Document Expired"(FF) which I don't want to show to users.
As far as I know, one solution is making the "Cache-Control" private or public,
but I need to generate some one-time key in model2
which will be posted to Page3(in another site) later.
When back to Page2, the one-time key must be regenerated too,
so cache seems not to be a solution for me.
Using GET to pass parameters from Page1 to Page2 works fine,
the one-time key is regenerated everytime and no warning from the browser
except one little problem : the parameters are shown in the url.
Tried to solve that by using a redirect right after get,
but that leads back to the cache problem: I can't get the one-time key regenerated.
So is there any way that will not show parameters in url from Page1 to Page2
and will not show "Document Expired" from Page3 to Page2 when click the 'back' button?