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. Web Development
  3. ASP.NET
  4. Redirect from https to http

Redirect from https to http

Scheduled Pinned Locked Moved ASP.NET
helptutorial
5 Posts 3 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.
  • P Offline
    P Offline
    Prakash_Mishra
    wrote on last edited by
    #1

    hi all In my application there several web pages the last page is payment page(credit card) which is a secure page that is its url is https. but when i click on any link to return to other pages its still shows https. although all links accept the payment page is http. Then also it shows https once i visit the payment page and try to click a link for other pages. so how to remove that https to http for other pages. Pl help Regards

    Prakash Mishra(Banglore,India)

    N G 2 Replies Last reply
    0
    • P Prakash_Mishra

      hi all In my application there several web pages the last page is payment page(credit card) which is a secure page that is its url is https. but when i click on any link to return to other pages its still shows https. although all links accept the payment page is http. Then also it shows https once i visit the payment page and try to click a link for other pages. so how to remove that https to http for other pages. Pl help Regards

      Prakash Mishra(Banglore,India)

      N Offline
      N Offline
      N a v a n e e t h
      wrote on last edited by
      #2

      Prakash_Mishra wrote:

      but when i click on any link to return to other pages its still shows https.

      Append http to the links present in that secure page instead of redirecting like /page.aspx


      My Website | Ask smart questions

      P 1 Reply Last reply
      0
      • P Prakash_Mishra

        hi all In my application there several web pages the last page is payment page(credit card) which is a secure page that is its url is https. but when i click on any link to return to other pages its still shows https. although all links accept the payment page is http. Then also it shows https once i visit the payment page and try to click a link for other pages. so how to remove that https to http for other pages. Pl help Regards

        Prakash Mishra(Banglore,India)

        G Offline
        G Offline
        Ghazi H Wadi
        wrote on last edited by
        #3

        You are using relative url i.e. "..\otherpages.asp" so after you visit the https page other consequent pages will be assumed to be of the same protocol will be used last (https). Use absolute url (e.g. "http://www.codeproject.com/otherpage.asp" ) on the links of other pages. Cheers Raz

        /* Ghazi Hadi Al Wadi, PMP, ASQ SSGB, DBA */

        P 1 Reply Last reply
        0
        • G Ghazi H Wadi

          You are using relative url i.e. "..\otherpages.asp" so after you visit the https page other consequent pages will be assumed to be of the same protocol will be used last (https). Use absolute url (e.g. "http://www.codeproject.com/otherpage.asp" ) on the links of other pages. Cheers Raz

          /* Ghazi Hadi Al Wadi, PMP, ASQ SSGB, DBA */

          P Offline
          P Offline
          Prakash_Mishra
          wrote on last edited by
          #4

          Thanks a lot

          Prakash Mishra(Banglore,India)

          1 Reply Last reply
          0
          • N N a v a n e e t h

            Prakash_Mishra wrote:

            but when i click on any link to return to other pages its still shows https.

            Append http to the links present in that secure page instead of redirecting like /page.aspx


            My Website | Ask smart questions

            P Offline
            P Offline
            Prakash_Mishra
            wrote on last edited by
            #5

            Thanks a lot

            Prakash Mishra(Banglore,India)

            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