UrlReferrer is null when the referrer is ACTUALLY from a https url

  • Thread starter Thread starter Jiong Feng
  • Start date Start date
J

Jiong Feng

Hi,

Here is my problem:
I created a try.htm on my server, which contains a link to the default.aspx page.

if I use http://localhost/try.htm, and click the link, then in default.aspx, I could get the correct HttpContext.Current.Request.UrlReferrer.

but if I use https://localhost/try.htm (my server could use https), and click the link, then in default.aspx, the correct HttpContext.Current.Request.UrlReferrer is null.

Is that by design that UrlReferrer is null when it is from a https url?

If so, how could I still get the https://localhost/try.htm in default.aspx? if not, how should I correct it?

Thanks
Jiong
 
Back
Top