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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top