Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

httpmodules 1

Status
Not open for further replies.

RicksAtWork

Programmer
Joined
Nov 1, 2005
Messages
120
Location
GB
I am wanting to map part of a URL to an ID in my data base.

For example:


path1 maps to an ID in a database
path2 maps to an ID in a database

I have been told that I can use HTTPMODULES to parse the URL to extract the path1 part of the URL, perform a lookup and then redirect to a base page that will access the values.

Has anybody ever attempted this or seen information on this?
 
I have now solved this issue.

I now have all paths mapping to my handler!!!!

All I need to do now, is tell the app how to handle static files!

hurrah!
 
standardly only certain extenstions are supported in them..."

Word. I figured as much, but I just wanted to clarify.

...

Way to go, RicksAtWork!
 
Yep - wrote my own staticfilehandler.

Works very well.

I have 2 handlers. One that handles paths without extensions i.e.


and the other handles paths such as


Requests for ASP.NET specific pages/services pass straight through to the runtime.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top