CryoEnix Posted August 22, 2008 Posted August 22, 2008 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! Quote Chaos is merely logic beyond human comprehension
Nate Bross Posted August 22, 2008 Posted August 22, 2008 (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 August 22, 2008 by Nate Bross Quote ~Nate� ___________________________________________ Please use the [vb]/[cs] tags on posted code. Please post solutions you find somewhere else. Follow me on Twitter here.
Administrators PlausiblyDamp Posted August 24, 2008 Administrators Posted August 24, 2008 If the handler isn't enabled what happens if they do not specify a filename? You might be able to configure default.aspx to be the default page under IIS - never tried it when using an httphandler though. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.