Geeks With Blogs
Matt Watson Software developer, product visionary, and master of #dadops

I've been playing for a couple hours now to see if I can get Server.Transfer and Response.Filter to work together so I can use the free HttpCompressionModule

Currently there is a glitch in .NET that will prevent this from working without a hot fix. Well, my web hosting company does not have the hot fix, and doesn't seem eager to put it on. So I'm on a mission.

I think I figured out a way to make it work with Server.Transfer
I changed it to work off of the PostRequestHandlerExecute event instead of the BeginRequest event.

My site seems to work great with the change. One of my clients sites also seems to work great.

Anyone else out there want to help me verify this find? I can send you the new dll, or you can download the code and try it for yourself.

Posted on Saturday, January 17, 2004 5:41 PM | Back to top


Comments on this post: HttpCompression Major Fix??

# re: HttpCompression Major Fix??
Requesting Gravatar...
This is a huge deal for a few thousand or so of us (http://www.asp.net/Forums/ShowPost.aspx?tabindex=1&PostID=483077)

We'd appreciate it if you could elaborate on how specifically you fixed "it". Did you poke into the Blowery *.cs?


Thanx...

-jjg
Left by J. Gravelle on Feb 26, 2004 12:05 PM

# re: HttpCompression Major Fix??
Requesting Gravatar...
I thought sever.Transfer() has an implicit Context.Response.End() call. Won't this skip the remaining event pipeline; specifically any pending PostRequestHandlerExecute event code???
Left by aido on Aug 10, 2004 4:27 AM

# re: HttpCompression Major Fix??
Requesting Gravatar...
Thanks for the idea. It works well. - Marla Ahlgrimm
Left by Kyle Richards on Jan 27, 2017 4:49 AM

Your comment:
 (will show your gravatar)


Copyright © Matt Watson | Powered by: GeeksWithBlogs.net