ASP.NET(vb.net) Request.UrlReferrer() - Request Object - Request.UrlReferrer() : Gets information about the URL of the client’s previous request that linked to the current URL.
ShotDev Focus:
- ASP.NET(vb.net) Request.UrlReferrer() - Request Object
Example
AspNetRequestUrlReferrer.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) Me.lblText.Text = Request.UrlReferrer().ToString End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form runat="server"> <asp:Label id="lblText" runat="server"></asp:Label><br> </form> </body> </html>
Screenshot