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 7550175
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T10:08:44+00:00 2026-05-30T10:08:44+00:00

I have an ASP.NET page hosted on IIS6 running in windows 2008 server. The

  • 0

I have an ASP.NET page hosted on IIS6 running in windows 2008 server. The page has two iframes both calling to pages within the same application.

When viewed in the browser (IE8, compat mode) the session gets lost within the iFrames.

IIS is setup with a virtual directory of “App”, so the website is accessed via http://localhost/App.

The problem occurs if you type into the browser http://localhost/app – note the change of case.

As far as I was aware URLs are always case-insensitive, but in this instance it clearly in not. After some testing, it turns out that the important factor is that the URL typed into the Browser must have exactly the same casing as that of the URL on the iframe. Or at least the casing of the virtual directory between the two URLs.

So a simple fix is to make sure you always use exactly the same url casing in the browser as is used on the Virtual Directory, but this is a bit difficult with users.

I’ve thought about rewriting the URL and doing some string manipulation to make the URL of the iFrame match that of the browser, but it seems a bit hacky and potentially unreliable.

Has anyone else experienced this or is there are simply IE config I can change?

Thanks,

  • 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-30T10:08:45+00:00Added an answer on May 30, 2026 at 10:08 am

    Urls are case sensitive. It’s IIS & ASP.NET that are not case sensitive when handling request urls, but the case sensitivity you’re seeing for cookie paths should be true for any browser you use. This is not something you’re supposed to change.

    A workaround would be to redirect requests with a wrongly cased url to the correct one. You could write an IHttpModule for this, or, if you’re using IIS7, use the optional Application Request Routing module.

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

Sidebar

Related Questions

I have an ASP.NET 2.0 web site hosted on Windows Server 2008 with IIS
I have a Asp.net/C# web Application hosted under IIS7.5 server 2008 64bit. my application
We have an ASP.NET page running on .NET Framework 4.0. At the moment we
I have an ASP.Net GridView control on an ASPX page hosted on a SharePoint
Background I have an ASP.NET site, hosted internally on our company's intranet server. The
VS 2008 / ASP.Net I have a deployed a ASP.Net Web Application on Windows
I have a asp.net 2.0 web site with WCF service hosted inside it running
I have an ASP.Net page that will be hosted on a couple different servers,
I have a Silverlight application hosted in an ASP.NET page. I need to do
I have ASP.NET page with an iframe on it for displaying some pdf reports

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.