I have been fighting for a bit with a pesky problem. I have a SharePoint list item display page from which a user can follow several links from and move forward by clicking links. Users will get two or three pages removed in the history from this portal page.
The link is: http://www.site.com/Lists/Parent/Item/displayifs.aspx?List=e0d68...&ID=3
There has to be an elegant way to solve it. Ideal pseudocode would look something like: Set Hyperlink to most recent history page which contains display.ifs.