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. This page contains both secure and nonsecure items. Do you want to display the nonsecure items asp .net c#

This page contains both secure and nonsecure items. Do you want to display the nonsecure items asp .net c#

Scheduled Pinned Locked Moved ASP.NET
csharphelp
10 Posts 4 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.
  • I Offline
    I Offline
    its rajendra
    wrote on last edited by
    #1

    In my existing project I'm getting this pop up message... This page contains both secure and nonsecure items. Do you want to display the nonsecure items asp .net c# But its happening few pages only....whats the exact issue...can somebody tell me...is there any coding (asp .net c#) thru this I can solve it..... Internet - tool - options----this method doesnt required.... Thnx in advance.

    H 1 Reply Last reply
    0
    • I its rajendra

      In my existing project I'm getting this pop up message... This page contains both secure and nonsecure items. Do you want to display the nonsecure items asp .net c# But its happening few pages only....whats the exact issue...can somebody tell me...is there any coding (asp .net c#) thru this I can solve it..... Internet - tool - options----this method doesnt required.... Thnx in advance.

      H Offline
      H Offline
      Herman T Instance
      wrote on last edited by
      #2

      Mostly it has to do with links in a page. Your page is run in https on the webserver but your link says http. Or you load images in your page with an absolute http path in stead of a relative ~\... path.

      I 2 Replies Last reply
      0
      • H Herman T Instance

        Mostly it has to do with links in a page. Your page is run in https on the webserver but your link says http. Or you load images in your page with an absolute http path in stead of a relative ~\... path.

        I Offline
        I Offline
        its rajendra
        wrote on last edited by
        #3

        Hi digi.. all images path is such as ../image/........so which one will be better....\ ~/image..... or ../image/.... please suggest me asap... thnx

        E 1 Reply Last reply
        0
        • I its rajendra

          Hi digi.. all images path is such as ../image/........so which one will be better....\ ~/image..... or ../image/.... please suggest me asap... thnx

          E Offline
          E Offline
          eyeseetee
          wrote on last edited by
          #4

          /image I think would be better

          I 1 Reply Last reply
          0
          • E eyeseetee

            /image I think would be better

            I Offline
            I Offline
            its rajendra
            wrote on last edited by
            #5

            thnx.. i have used ../ lets c output....just updating webserver..

            1 Reply Last reply
            0
            • H Herman T Instance

              Mostly it has to do with links in a page. Your page is run in https on the webserver but your link says http. Or you load images in your page with an absolute http path in stead of a relative ~\... path.

              I Offline
              I Offline
              its rajendra
              wrote on last edited by
              #6

              I used ../image path for the images....didnt work.... any other suggestion plz. thnx. raj.

              H J 2 Replies Last reply
              0
              • I its rajendra

                I used ../image path for the images....didnt work.... any other suggestion plz. thnx. raj.

                H Offline
                H Offline
                Herman T Instance
                wrote on last edited by
                #7

                read http://www.4guysfromrolla.com/webtech/121799-1.shtmlthis article about Server.MapPath() functionality

                1 Reply Last reply
                0
                • I its rajendra

                  I used ../image path for the images....didnt work.... any other suggestion plz. thnx. raj.

                  J Offline
                  J Offline
                  J4amieC
                  wrote on last edited by
                  #8

                  dynamic raj wrote:

                  any other suggestion plz.

                  This message is a generic message that means exactly what it says - you are on a secure page (https) but some element of the page is nonsecure (http). This can be anything that is loaded into the page, such as an image (as already suggested), a css file, a script include, an applet etc. If you are having trouble tracking down the offender, try something like fiddler[^] and watch for any http requests when hitting your https page.

                  I 1 Reply Last reply
                  0
                  • J J4amieC

                    dynamic raj wrote:

                    any other suggestion plz.

                    This message is a generic message that means exactly what it says - you are on a secure page (https) but some element of the page is nonsecure (http). This can be anything that is loaded into the page, such as an image (as already suggested), a css file, a script include, an applet etc. If you are having trouble tracking down the offender, try something like fiddler[^] and watch for any http requests when hitting your https page.

                    I Offline
                    I Offline
                    its rajendra
                    wrote on last edited by
                    #9

                    Hi J4.. just I installed fiddler... could you explain little bit more...how to track the exact items... thnx

                    J 1 Reply Last reply
                    0
                    • I its rajendra

                      Hi J4.. just I installed fiddler... could you explain little bit more...how to track the exact items... thnx

                      J Offline
                      J Offline
                      J4amieC
                      wrote on last edited by
                      #10

                      erm... it's pretty self-explanatory. Whhen you make a request to a page fiddler shows each http request that your browser is issuing. when you hit the https page look for any requests that says http. Thats you're culprit for the "this page contains both secure and nonsecure ....." message.

                      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