locked
front controller RRS feed

  • Question

  • User-1005915888 posted
    Hi I want to implement something like a front controller. Each http request contains a parameter (PID) with a guid as value. That guid represents a page within my database. Now, my http handler must fetch the page name from database and redirect to it. How can i accomplish this? I have made to build the http handler, but if the handler redirects to a page by using Server.Transfer i get an error from asp.net runtime. Is there any article/howto that describes exactly what i want? Many thanks in advance.
    Friday, October 15, 2004 12:05 PM

All replies

  • User-1391363652 posted
    I think an HttpModule is a better fit for this. Research HttpContext.RewritePath.
    Tuesday, October 19, 2004 12:21 PM