<%@ Page Language=VB Debug=true %>
<script runat=server>
Sub Page_Load(ByVal Sender as Object, ByVal E as EventArgs)
Dim TheRef As Uri
TheRef = Request.UrlReferrer
lblMessage.Text = "You connected to this page " _
& "from this page: " & TheRef.AbsolutePath _
& "<BR>Using this protocol: " _
& TheRef.Scheme
End Sub
</SCRIPT>
<HTML>
<HEAD>
<TITLE>Referrer Information</TITLE>
</HEAD>
<form runat="server">
<asp:label
id="lblMessage"
font-size="12pt"
font-name="Tahoma"
runat="server"
/>
</form>
</BODY>
</HTML>
|