URL Encryptionhttp://forums.asp.net/t/1271101.aspx/1?URL+EncryptionMon, 09 Jun 2008 02:54:54 -040012711012403017http://forums.asp.net/p/1271101/2403017.aspx/1?URL+EncryptionURL Encryption <p>I am developing a website, what i need is that only <a href="http://www.domainname.com/"> www.domainname.com/</a> should be display on each page , How can i achieve this ?</p> <p>Thanks in adv ........</p> 2008-06-05T07:52:38-04:002403125http://forums.asp.net/p/1271101/2403125.aspx/1?Re+URL+EncryptionRe: URL Encryption <p>Try to use &lt;iframe&gt; or &lt;frameset&gt;... Otherwise its not possible i think.....</p> 2008-06-05T08:44:54-04:002403142http://forums.asp.net/p/1271101/2403142.aspx/1?Re+URL+EncryptionRe: URL Encryption You have to rewrite the URL.Please follow this link.<br> <p></p> <p>&nbsp; http://urlrewriter.net/</p> <p>&nbsp;</p> <p>&nbsp;</p> 2008-06-05T08:49:53-04:002403342http://forums.asp.net/p/1271101/2403342.aspx/1?Re+URL+EncryptionRe: URL Encryption <p>Hi,</p> <p>Firstly, and it has to be said, don't do it unless its vital! You might find lots of tiny little problems, that do break things, it destroys SEO and navigation gets tricky as the browser dosent know what page the user is on, little things like your menu wont know what page you are on, sounds silly, but it is annoying. Each time they refresh the page, they will be returned to the home page. believe me I experimented heavily with this a while back.</p> <p>Anyway, if your really sure, as mentioned before use iFrames, URL rewriting does work better, but you have to mess around with each page and its just not worth it if the site is large.&nbsp;</p> 2008-06-05T10:02:09-04:002403381http://forums.asp.net/p/1271101/2403381.aspx/1?Re+URL+EncryptionRe: URL Encryption <p>hello dear you can use server.URLencode and URLdecode of dotnet<br> </p> 2008-06-05T10:20:52-04:002403664http://forums.asp.net/p/1271101/2403664.aspx/1?Re+URL+EncryptionRe: URL Encryption hi, <p>&nbsp;</p> <blockquote><span class="icon-blockquote"></span> <h4>Nitin Bansal</h4> <p></p> <p>I am developing a website, what i need is that only <a href="http://www.domainname.com/"> www.domainname.com/</a> should be display on each page , How can i achieve this ?</p> <p>Thanks in adv ........</p> <p></p> </blockquote> <p></p> <p>try with these links.</p> <p><a href="http://www.codeproject.com/KB/aspnet/urlrewriter.aspx" target="_blank">http://www.codeproject.com/KB/aspnet/urlrewriter.aspx</a> </p> <p><a href="http://msdn.microsoft.com/en-us/library/ms972974.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms972974.aspx</a></p> <p><br> <br> </p> <p>&nbsp;</p> 2008-06-05T12:22:54-04:002409672http://forums.asp.net/p/1271101/2409672.aspx/1?Re+URL+EncryptionRe: URL Encryption <p>Hi,</p> <p>1. IIS Rewrite is an available approach for it.</p> <p>You can download <font face="Verdana">IISRewrite</font>.dll ( It is avaiable at: <a href="http://www.qwerksoft.com/products/iisrewrite/download.asp"><font face="Verdana" color="#034efa">www.qwerksoft.com/products/iisrewrite/download.asp</font></a><br> ). After you download this file, there are several steps to configure.</p> <p>The completed document is at:&nbsp;<a href="http://www.qwerksoft.com/products/iisrewrite/documentation.asp"><font color="#034efa">http://www.qwerksoft.com/products/iisrewrite/documentation.asp</font></a>&nbsp;</p> <p>You have to deploy your IIS along the&nbsp;above document in order to&nbsp;map the files extension to aspnet_isapi.dll.</p> <p>2. Using&nbsp;Iframe to load the content of page can prevent any real link from showing.</p> <p>3.&nbsp;Using Server.Transfer.</p> <p>&nbsp;&nbsp; &nbsp;When you transfer URL via <strong>Server.Transfer(&quot;sample2.aspx?x=1&amp;y=2&quot;),</strong> in page sample2 you can retrieve these two variables via Request but it only display the&nbsp;URL&nbsp;of the old page which executed Server.Transfer. But it can't prevent any links from showing. It will display the previous link.</p> <p>Reference:</p> <p><a href="http://msdn2.microsoft.com/en-us/library/ms525800.aspx"><font color="#034efa">http://msdn2.microsoft.com/en-us/library/ms525800.aspx</font></a></p> <p><a href="http://support.microsoft.com/kb/219294"><font color="#034efa">http://support.microsoft.com/kb/219294</font></a><br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br> 3. Encrypt your querystring and the real string will not be diaplayed. This approach is&nbsp;we usually use.</p> <p>&nbsp;&nbsp; Check the anwser on&nbsp;<a href="http://forums.asp.net/t/1201393.aspx"><font color="#5403fa">http://forums.asp.net/t/1201393.aspx</font></a>.</p> <p>Hope it helps.</p> <p>&nbsp;</p> 2008-06-09T02:54:54-04:00