Geeks With Blogs
Scott Van Vliet Once a Developer, Always a Developer

Update 2010-03-23 – Sorry, but the images and downloads were hosted on a server that is no longer available.  I will try to find the sample code bits and images on a backup sometime!

I've received several emails regarding some errant debug code that was left in the Search Engine Safe URL HttpModule that I created and published on this blog.  Lines 85 – 88 (found below) of the SesRequestFilter class were written to monitor the response buffer as I was developing this module.

 

FileStream fs = File.OpenWrite(String.Format(@"C:\Temp\seslog-{0}.txt", DateTime.Now.Ticks));

fs.Write(buffer, offset, count);

fs.Flush();

fs.Close();

 

This code should be commented out or completely removed from SesRequestFilter, the project should be recompiled, and all references to the module should be updated with the newly generated assembly.

 

I’ve posted an update to the source distribution to the following location.

 

http://69.2.200.115/downloads/ASP_NET_SES_1_0_2.zip

 

Enjoy!

Posted on Friday, July 15, 2005 3:09 PM ASP.NET , Regular Expressions | Back to top


Comments on this post: Quick Search Engine Safe URL Module Update

# re: Quick Search Engine Safe URL Module Update
Requesting Gravatar...
Thanks for sharing this wonderful idea. Just got to try this one and see how good it will work. - Stephen Samuelian
Left by Stephen on Jul 07, 2015 6:21 PM

Your comment:
 (will show your gravatar)


Copyright © svanvliet | Powered by: GeeksWithBlogs.net