Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Classic ASP Async Issues on IIS 7.5

Posted on 2011-02-25
4
Medium Priority
?
1,140 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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/…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

670 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