><script language="c#" runat="server"> > void Page_Load(Object sender, EventArgs e) > { > NameValueCollection coll; > Response.Write("Refering Page: " + coll.Get("HTTP_REFERER") + "<br>"); > } >>
>protected void Session_Start(Object sender, EventArgs e) >{ > NameValueCollection coll = Request.ServerVariables; > string cHttpReferer = coll.Get("HTTP_REFERER"); > > // Then I save the information to a database >} >>I have all the namespaces in place and the code compiles without any problems.