+ Start a Discussion

Back Functionality when Used a middle visualforce page to redirect to another page

Hi I have a visualforce page which is only using custom controller... I want to add that page to VIEW link of my object.. For that I have written a redirect visualforce page in which in action function i redirect to my required page.. But when i click back button in the browser, it redirect to middle redirect page and coming back to same view page which i wrote custom controller. I need the back functionality in this case. Thanks in Advance Anu




I put a command button like this


  <apex:commandButton value="Back" onclick="window.history.go(-2)"/>


This is working perfectly in mozilla firefox now but not working in chrome browser..


Please Advice me.