dynamic context path

  • Thread starter Thread starter Blue Man
  • Start date Start date
B

Blue Man

is that possible to use dynamic paths in web.config for httphandler like
this?
<httpHandlers>

<add verb="*" path="archive/\d{4}/\d{2}/\d{2}/\d+\.aspx"
type="myclass,assembly" />
</httpHandlers>

Then i can grab it with MyClass which is a defined httphandler and redirect
it to appropriate page. and if not what do you suggest me to do for these
dynamic paths?
 
Hi,

I don't think so. But you can map several pages / extensions to the same
class. By the way, why you need to map several pages to the same handle
class? Cant you get the same functionality by creating base page class
for all of those pages ?

HTH

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
 
Back
Top