You need to sign in to do that
Don't have an account?
View State issues
Hi,
I have a force.com public site in wizard style where the user input is stored in the controller instance variable. After completing the different steps in wizard process the user should not be able to go back. For achieving this 'm reseting the instance variable after the steps are completed.
However when the user clicks browser back button, pages are rendered from the browser history and again the view state seems to be constructed. This does not serve the purpose.How do i achieve this?
I have seen the documentation on view state but still 'm confused.I also tried adding cache="false" but dint help.
Appreciate any help on this.
wouldn't this create duplicate records? You already created a record I am assuming at the end of the wizard? Maybe you can create a unique field based on this and prevent them from that.