| |||||
Request.UrlReferrer PropertySystem.Web Namespace HttpRequest Class Gets information about the URL of the client's previous request that linked to the current URL. [ VB ] Public ReadOnly Property UrlReferrer As Uri [ C# ] public Uri UrlReferrer {get;} [ C++ ] public: __property Uri* get_UrlReferrer ( ); [ JScript ] public function get UrlReferrer ( ) : Uri; Property ValueA Uri object. ExampleThe following example renders a list of the properties of the URL that referred the client to the current application. <table width=50% cellspacing=1 class="data" > <tr> <th colspan=2>Referring URL Properties</th></tr> <tr> <td>AbsolutePath</td> <td><%= Request.UrlReferrer.AbsolutePath %></td></tr> <tr> <td>AbsoluteUri</td> <td><%= Request.UrlReferrer.AbsoluteUri %></td></tr> <tr> <td>Authority</td> <td><%= Request.UrlReferrer.Authority %></td></tr> <tr> <td>LocalPath</td> <td><%= Request.UrlReferrer.LocalPath %></td></tr> <tr> <td>Port</td> <td><%= Request.UrlReferrer.Port %></td></tr> <tr> <td>Scheme</td> <td><%= Request.UrlReferrer.Scheme %></td></tr> <tr> <td>UserInfo</td> <td><%= Request.UrlReferrer.UserInfo %></td></tr> </table>
See Also |
| ||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme