Previous Page

Discussion in 'ASP.NET / ASP.NET Core' started by aspq, Sep 23, 2004.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.
  1. Hi,

    I like to check if someone in my web site has come to pageC.aspx from a particular page eg: pageM.aspx

    How can I check that while I am in PageC.aspx?

    Thanks
     
  2. In your Page_Init, Page_Load or other event code you can use:

    "Request.Url.ToString" to get the url of the request, or

    "Request.UrlReferrer.ToString" to get the url of the referring page
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page