When a page loads, in order to get the name of the page that sent you there, all you need to use is:
Request.UrlReferrer.ToString
You can create a global variable to hold it:
Dim sReferrer as string
Then, in the Page_Load event, assign it:
If Not Page.IsPostback then sReferrer=Request.UrlReferrer.ToString End If
Or, you can put it in ViewState at that time:
If Not Page.IsPostback then ViewState("Referrer")=Request.UrlReferrer.ToString End If
From there, on out, within that page, you can use either the variable, or ViewState, within that page as a link, or whatever you need it for.