how to access the http and https in the same page in

DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: how to access the http and https in the same page in

  1. #1
    Join Date
    May 2011

    how to access the http and https in the same page in

    Hello All,

    I am creating a website with password-protected pages in it.

    I have two type of customer: 1. normal 2. secured

    For secured customers, pages would be rendered over HTTPS whereas for normal customer, pages will be rendered over HTTP. However, pages for both types of users would be same.

    Please note, the URL for the two users should be same except HTTP/HTTPS part.

    Also would like to know, sometimes when we browse some HTTPS page and few of the items like image are referenced over HTTP then we get a cross in Address Bar indicating that some of the resources are not over HTTPS.

    How can we overcome this problem, any suggestions?

  2. #2
    Join Date
    Oct 2008
    to get rid off that warning when you are showing secure and non-secured items in a web page, i made the url of those non-secured items https:// as well.
    it turns out it is a web site that can be accessed with http and https as well, so items in this web site can be referenced with http:// or https://
    if when connecting to a web page of your web site, you use https, then make all references to items ( including graphics, flash files, etc ) https as well.

    good luck,


Similar Threads

  1. Replies: 2
    Last Post: 12-12-2008, 11:33 AM
  2. Replies: 0
    Last Post: 11-27-2006, 07:14 AM
  3. Replies: 0
    Last Post: 01-13-2006, 07:55 AM
  4. Why Web Services are Important
    By Constance J. Petersen in forum .NET
    Replies: 13
    Last Post: 08-28-2002, 10:06 PM
  5. Re: Secure Http (https)
    By yann LE PAGE in forum Java
    Replies: 1
    Last Post: 11-22-2000, 04:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center