Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1146
  • Last Modified:

Classic ASP Async Issues on IIS 7.5

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
Sitewizard
Asked:
Sitewizard
  • 3
1 Solution
 
strickddCommented:
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
 
SitewizardAuthor Commented:
Ive tried changing the integraded pipeline mode to classic and that did not work.  I believe all of the compatibility modules are installed
0
 
SitewizardAuthor Commented:
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
 
SitewizardAuthor Commented:
I resolved the issue myself
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now