In the recent project I've been working on we were running into 2 issues related to the URLs: first we have links all over on the pages which link to each other, if we rename a page or move it to a different folder, we need to change every place where links to this page. Secondly, we have couple pages that need to be secured (i.e. https is needed). but all the urls on the site are relative (which is good), so once user is redirected to the secure page, he will stay on secure pages because all the links on the page start with https.
An ideal solution would be:
(1) all the urls of the site should be saved in a config file (xml formatted) or resource file
(2) create a custom control to generate <a> tag. which we can put more properties like (bool)IsSecure,
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment