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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dynamic lnks? 2

Status
Not open for further replies.

serializer

Programmer
May 15, 2006
143
SE
I am not sure where and what to search on. I will give you one example. Let say I have a site called In this site I have a lot of games and I want the site links to be like this:


When going to this page I want to reach a script called game.aspx?id=xxxx

I don't the link to be seen but only the How do I do this the best way?
 
this can be pretty tricky with IIS6. this has to do with how/when IIS processes asp.net requests. URLs like are especially difficult because the Defender directory doesn't actually exist. and there is no processing instructions to inform IIS this is an asp.net request.

on way to work around this is suffixing the URLs with aspx
( which would allow IIS6 to know this is an aspx request, which would allow the url rewrite to occur and redirect to game.aspx?id=#

another way is to create custom IIS filters, but that is a whole different beast.

If your using IIS7, asp.net processing is built into the pipeline and allows for clean URLs like
Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top