Last post Jan 11, 2009 08:51 AM by jingbell
Jan 10, 2009 04:21 AM|biodoom|LINK
I am looking for a way to manipulate the url so I can use it for requests of pages in my database. This is actually the first time doing something like this so I fought asking might be a good idear.
I am trying to get a start on making a CMS. I bassically want to get the page from the database with either pagename.anything (such as page.htm, page.html, page.php, page.aspx) or page?ID=3.
That in itself is not really a problem. The question I am asking myself is really how do I request an URL or querystring from a page that does not exist? I want a class that can request any requested page within my website domain. But is that even possible?
What are the default ways of building such a function? And does any one have tips for me where I need to look at to keep an object oriented and dynamic website.
Thanks in advance.
With kind regards,
Jan 10, 2009 05:14 AM|Bhaarat|LINK
This concept is called url Rewriting/Mapping
refer this link ...
All The Best
Jan 11, 2009 08:51 AM|jingbell|LINK
It could be a custom HttpHandler to handle the url request and then service the request using content generated. It's actually the URL rewrite/mapping.