HttpModule/HttpHandler and condtional Response
- From: "BK" <noreply@xxxxxxxxxxx>
- Date: Fri, 27 May 2005 20:02:42 -0500
This is probably a fairly simple question, but I can't seem to get it to
work. I have a situation where I have written an HttpModule to do some post
processing. Everything works beautifully except this last piece.
In the _EndRequest method, I need to modify the Response based upon a
condition. So, I have something like this:
if (condition)
{
Response.Redirect(myURL);
}
else
{
{deliver the originally requested page};
}
How do I get the originally requested resource into the Response buffer? I
have tried a few variations on Response.Flush() but none were successful.
Thanks
BK
.
- Follow-Ups:
- Prev by Date: Re: name value pair
- Next by Date: Re: Programmatically Sending the User to Another Page
- Previous by thread: Data source not found by ASP.NET working process on IIS 6.0
- Next by thread: Re: HttpModule/HttpHandler and condtional Response
- Index(es):