Solved

Classic ASP Async Issues on IIS 7.5

Posted on 2011-02-25
4
1,136 Views
Last Modified: 2012-05-11
I have a classic asp ajax chat application that has been running just fine for years on windows server 2003.  But I just recently upgraded the server and now on server 2-008 r2 with iis 7.5 and the ajax refresh takes 3 times as long as it should.  I have tested the same code again in the same browsers on iis 6 and there are no problems.  With it running on iis 7.5 when it should be refreshing every 3 seconds, it is actually only refreshing about every 9-15 seconds.

I have also noticed that the issue is not a bad with firefox, chrome and safari as it is on IE.  

0
Comment
Question by:Sitewizard
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 28

Expert Comment

by:strickdd
ID: 34982021
You may want to install the compatibility modules for IIS6 on the server. You can also try changing from Integrated Pipeline mode on the app pool to Classic.
0
 

Author Comment

by:Sitewizard
ID: 34983218
Ive tried changing the integraded pipeline mode to classic and that did not work.  I believe all of the compatibility modules are installed
0
 

Accepted Solution

by:
Sitewizard earned 0 total points
ID: 34985955
I found the issue, IIS 7.5 must be better at page caching then IIS6 was.  The issue was not that the async was not firing, it was that the page was returning the cached page.  i simply added the following to the top of the page

<% Response.CacheControl = "no-cache" %>
<% Response.AddHeader "Pragma", "no-cache" %>
<% Response.Expires = -1 %>

Problem resolved
0
 

Author Closing Comment

by:Sitewizard
ID: 35015630
I resolved the issue myself
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I would like to start this tip/trick by saying Thank You, to all who said that this could not be done, as it forced me to make sure that it could be accomplished. :) To start, I want to make sure everyone understands the importance of utilizing p…
This demonstration started out as a follow up to some recently posted questions on the subject of logging in: http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/Q_28634665.html and http://www.experts-exchange.com/Programming/…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question