Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to keep track of return Urls...

Status
Not open for further replies.

MrSatan

Programmer
Jul 16, 2002
25
AU
Hi All,

I need an easy implemented way to keep track of the return Url that passed from one screen into another.

Eg: screen A -> screen B -> screen C -> screen D ...etc...

Currently, my code is set the current screen's returnUrl to the request object, and the next screen will get it from the request. This only work fine when navigate from A to B, but when I navigate from B to C, then the returnUrl from A to B will be lost. I can't hard code the returnUrl into each screen, because screen B may invoked by, say screen A1, screen A2, screen A3 etc... I have tried to encode the A->B returnUrl inside the B->C returnUrl, but after a number of level down, the method will become very hard to implement.

Any help will be appreciated.

Thanks in advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top