Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

HttpModule write in Response.Filter

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
lu2vik@gmail.com - 07 Feb 2008 09:20 GMT
Hi,

I would like to change the outputstream from response in the
EndRequest httpmodule event.

I tried whith the Response.Filter properties it works in the
BeginRequest but not in the EndRequest.

I don't understand why ...

I need to parse the html output to rewrite links on the fly (with
regex) . Objective is rewrite url to make a reverse proxy without
change all source code.
Sergey Zyuzin - 07 Feb 2008 12:19 GMT
On Feb 7, 11:20 am, lu2...@gmail.com wrote:
> Hi,
>
[quoted text clipped - 9 lines]
> regex) . Objective is rewrite url to make a reverse proxy without
> change all source code.

Hi,

Here's sample that modifies output stream and also explanations when
filters are not called:
http://aspnetresources.com/articles/HttpFilters.aspx

Thanks,
Sergey

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.