Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hey guys, quick question - this one's been bugging me for some time, and google hasn't been my friend on it.

 

I've set up a httphandler in my web.config to transfer a url. For example, typing the following into the address bar:

 

http://mysite.com/Articles/Default.aspx

 

will transfer the user to:

 

http://mysite.com/content.aspx?type=articles

 

However, the user must explicitly type:

 

http://mysite.com/Articles/Default.aspx

 

Is it possible to account for this so that the user can miss off the filename, and it will default to default.aspx?

 

Cheers in advance!

Chaos is merely logic beyond human comprehension
Posted (edited)
I don't know alot about httphandlers, but it sounds like a programming logic error, if you post the code that you'd like to work differently we could try to help alter it. Edited by Nate Bross

~Nate�

___________________________________________

Please use the [vb]/[cs] tags on posted code.

Please post solutions you find somewhere else.

Follow me on Twitter here.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...