1. Welcome Guest! In order to create a new topic or reply to an existing one, you must register first. It is easy and free. Click here to sign up now!.
    Dismiss Notice

Implications of Server.Execute in HttpModule

Discussion in 'Microsoft News' started by NewsBot, Apr 22, 2008.

  1. NewsBot

    NewsBot I Got News

    Joined:
    Feb 8, 2006
    Messages:
    1,813
    Operating System:
    Windows Vista Home Premium
    hey all

    I have a bit of code that looks like this but for some reason it doesn't look right to me.

    void context_PreRequestHandlerExecute(...)
    {
    *** context.Server.Execute(context.Request.CurrentExecutionFilePath, writer, true);
    *** MakeChangesToResponse(...);

    *** context.Response.End();
    }

    any comments?




     

Share This Page