HTTP Handler?

R

RSH

Hi,

I have a situation where my company wants to implement a part of our website
that needs to process requests such as:
http://www.mydomain.com/<ServiceCenterName>

I want to build a template page that will ultimately handle the request, but
Im not sure how to go about interception the initial request.

Im thinking that I need to establish if the request doesn't have an
extension, then query the ServiceCenterName against the database. If it is
legitimate than set a session variable and point them to the template page
which will handle it from there.

My problem is...how do I intercept the request and send it to my logic? Im
vaguely familiar with the concept of a HTTP Handler...would that do the
trick here?

Thanks,
Ron
 
G

Guest

If a request doesn't have an extension (e.g., .ashx, .aspx, .asp, etc) then
you will need to use an ISAPI filter at the IIS level to perform "Url
rewriting".
UrlRewrite Lite is a free one you can try.
Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,770
Messages
2,569,583
Members
45,073
Latest member
DarinCeden

Latest Threads

Top