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

  • Home
  • SEARCH
  • 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 4084798
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T18:29:10+00:00 2026-05-20T18:29:10+00:00

Just downloaded IE9 and pulled up a webproject i have with an IHttpHandler that

  • 0

Just downloaded IE9 and pulled up a webproject i have with an IHttpHandler that writes a javascript to the webpage. Before I write the script out, i test to see if the request is from a new session by determining if the session cookie is expired. So here is the strange part, while running the IE debugger, I can see two requests being made to this script, the first one is aborted, then the request is retried.

On the first request, everything goes through like nothing is wrong, no exceptions are thrown. The processing and determination if the request is from a new session executes as expected and I set the cookies accordingly. Then for no reason the request is aborted.

Next, the browser sends a second request through, with the old expired cookies, so it is determined to be a new session and a second session is created. This second request is processed by the browser without error.

This does not occur in FF4, Chrome 10, Safari 5, or even IE9 in compatibilty mode. But get this, it doesnt do it in standard IE9 if the webapp is hosted by VS2010. If I run it in IIS, my sessions get doubled up.

Is there an IIS setting that could be causing this? Or is this an IE9 thing I need to figure out?

I am using Win7 Ultimate N x64 as my dev machine.

update: Another oddity, if I refresh the page with the link to the IHttpHandler, the initial abort does not happen.

update 2: This is posted in the IE9 debugger on the second request:

This download occurred following a preparser restart (often due to either document mode switching or mismatched content encoding between a meta tag in the document and the BOM or a server header).
  • 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-20T18:29:10+00:00Added an answer on May 20, 2026 at 6:29 pm

    IE8 and 9 have a pre-parser that runs on the HTTP response stream looking, pretty naively, for URLs to fetch. It then fetches them optimistically, if it’s got time and open HTTP sessions, with the idea that it will have them on hand if it later learns it needs them.

    This process can be interrupted for a number of reasons, some of which are noted in the debugger message you see: probably, the document mode switched or the content encoding you’re using is not the content encoding you think you’re using. Does the page start in standards mode, then switch to compatibility mode? (this can be the case if it’s an intranet site.) Is there some other switch that happens?

    The JavaScript console may contain more information, e.g. HTML1113: Document mode restart from IE9 Standards to Quirks. In this case, the solution is to select the appropriate DOCTYPE from the beginning so that MSIE does not switch the rendering mode.

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

Sidebar

Related Questions

I just downloaded MonoDevelop for my Mac, but I cannot figure out how to
I'm new to Apex and have just downloaded Eclipse to get to work Eclipse
I just downloaded Eclipse several hours ago, and needed to add Java3D to the
I just downloaded the ASP.NET MVC beta and wanted to walk through the quickstarts
I just downloaded MVC and I am going through a tutorial. Everything goes fine
I just downloaded the ASP.NET MVC beta and the templates are not StyleCop compliant.
I've just downloaded the ASP.MVC MSI package, but the installation fails with the There
Or just any library, in general? I downloaded the bin.zip file, but I can't
I've done numerous searches and I realize that I can just download this file
I already know the obvious answer to this question: just download <insert favorite windows

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.