J
John A Grandy
How to determine if a request originated from a link click , or otherwise
( such as pasting the url the browser ).
This would seem to work ...
if (Request.Url.Host == Request.UrlReferrer.Host)
{
But what if Request.UrlReferrer == null ... ?
Any other ideas ?
( such as pasting the url the browser ).
This would seem to work ...
if (Request.Url.Host == Request.UrlReferrer.Host)
{
But what if Request.UrlReferrer == null ... ?
Any other ideas ?