Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. problem with https

problem with https

Scheduled Pinned Locked Moved C#
designsysadminhelpquestion
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    vamsimohan21
    wrote on last edited by
    #1

    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 In Advance

    L 1 Reply Last reply
    0
    • V vamsimohan21

      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 In Advance

      L Offline
      L Offline
      Larantz
      wrote on last edited by
      #2

      This question should be asked in ASP.NET forum. -Larantz-

      for those about to code, we salute you
      http://www.itverket.no

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups