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 without modifying tons of pages.
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.
Here's a link to the code:
The code isn't very long...
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 without modifying tons of pages.
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.
Here's a link to the code:
The code isn't very long...