tags:

views:

81

answers:

0

I know very little about C++ but I'm trying to tackle something for work and need some help...

I'm using this C++ ISAPI filter code to add a message to the top of a page on a IIS web server running ASP and CFML. This is a web server that will be going away and need a way to notify the users.

This code works for the most part, however it only displays this message if the page is large (or maybe it's intermittent, but I thought it was only doing it on large pages). I understand the code is compressing a bit (eliminating sending pieces of the page in smaller sections). However, I can't figure out why it doesn't get added when the page is small (or why it sometimes doesn't work).

Here's a link to the code: http://examples.oreilly.com/9780735621695/cd_contents/sdk/samples/WebFilters/webresponsemodifier/main.cpp