My problem is the following:
I have three pages, Index, Update and Form. I want to be able to redirecttopage from Index to Update or from Form to Update, do some actions on Update page and on Submit return to Index if I started from Index or to Form if I started from Form. How can I do this?