Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3332848
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T23:43:54+00:00 2026-05-17T23:43:54+00:00

I have a web application (.NET 2.0 coded in C#) that displays pages both

  • 0

I have a web application (.NET 2.0 coded in C#) that displays pages both to logged in users and the general public. When a user logs in, the protocol is switched to HTTPS. The images are being displayed by a CSS file residing in a virtual directory folder. The problem is that when the HTTPS pages are displayed, IE 8 will display a message saying that there is mixed security content on the page. I dont want the user to disable mixed content on their browser, rather, what the web application to furnish the images via HTTPS if the member is logged in.

If the images were in the HTML file, then it would be easy to pass in the server variable specifying the protocol (HTTP or HTTPS) to the HTML page. However, how do I pass a server variable to CSS specifying the protocol? All the path in the CSS file are relative.

e.g.
body {
font: 12px Arial, Helvetica, sans-serif;
color: #000000;
background: #eadcc8 url(../images/bg_top.gif) no-repeat 0 0;
text-align: center;
margin: 0px;
}

I am not too familiar with CSS functionality, apart from colors and styles.

Thanks for your help in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T23:43:55+00:00Added an answer on May 17, 2026 at 11:43 pm

    There has to be an absolute path somewhere. Visit the https page, look at its source and search for “http:” in it. If that doesn’t work, look for it in the files it embeds.

    Edit: If that doesn’t work for you or you think of it as being too complicated, you can also use Google Chromes Developer Tools (Tab “Resources”) to monitor all http requests.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a web application developed with ASP.net and C# that is running on
I have a web application that was originally written on .Net 1.1 Framework. I
I currently have an ASP.NET GridView that displays a few columns to the user
We have a Web application (ASP.NET) which displays in some page links to miscellaneous
I have several RequiredFieldValidators in an ASP.NET 1.1 web application that are firing on
I have a web application (asp.net) where work items are submitted and allocated to
I have a web application using ASP.NET 2.0 and I want to know if
I have created a Web Application in asp.net 2.0. which is working fine on
I have a asp.net web application which has a number of versions deployed on
I have a large .NET web application. The system has projects for different intentions

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.