function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MMA_FORCEMMA_FORCE 

Cache="true"???

Hi:

   I have a link on a page that would take the user to another page. Now on that page I have a link that would return the user to the page they came from. 

That part works, but the page goes back to its original state which is a lookup form. 

I tried to place in apex:page cache="true"... But it still returns the page back to its original state.

 

I would like it to return the user back to there results on the page that they were viewing before hand.

 

Is this possible??

 

Thanks for your Help

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

Once you go to a new page, the viewstate that held the information from the previous page will be lost.

 

I think you'll need to pass the information to reconstruct the page via the URL.