[RESOLVED]How to force a view page to reload/refresh, when user hit the "Back" button and get back to this page?

Hi,

I’m working on a MVC3 web app with c#, Razor, EF. For 1 page, I need to do this: if the user hit "Next" button on this page A, go to Page B, then hit "next" on page B to go to Page C, then hit "back" button twice to get back to page A – page  A now needs
to display different things based on what user did on page A and B.

So – my understanding is: when the user hits "Back" button on the browser, they go back to the history, which has the "Original" view of Page A. How do I refresh Page A, in this case?

Any advice is appreciated.

Thanks,

Claudia

Thanks a lot cnuonline – the code from the 2nd link worked like a charm!

Thanks,

Claudia

Leave a Reply