information about linked page

  • Thread starter Thread starter Dew Baboeram
  • Start date Start date
D

Dew Baboeram

Hi

Here is a problem in vb.net I cannot solve.
I have a page (firstpage.aspx) that has a hyperlink, which open
secondpage.aspx.
In the pageload of secondpage.aspx I want to retrieve the name of the page
that linked to the second page (the name of firstpage.aspx).
The httprequest object does not have a property of the page that connected
to the currentpage. How do I get this information in vb.net?

Dew Baboeram
 
try querying the urlreferrer property and see wht it gives you

Request.UrlReferrer.PathAndQuery();

--
Regards

John Timney
Microsoft Regional Director
Microsoft MVP
 
Back
Top