URL Masking and Login

Topics: ASP.NET 2.0, Business Logic Layer
Sep 5, 2007 at 9:10 AM
Hi all,

I have recently setup a new blog and everything has been working great, until I enabled URL Masking on my domain. Here is the setup

I have a machine at home, running off my broadband and using a dynamic DNS (ipmou.dyndns.org) to keep track of the IP changes (dynamic IP). I have bought a domain (www.angelosp.com) and I have set it up so that it redirects to this dynamic DNS.

Everything so far works great, however when i navigate to my domain, the redirection changes the URL in the address bar. This means that I type http://www.angelosp.com/blog in the address bar and when the page is loaded the address bar says http://ipmou.dyndns.org/blog.

I wanted to make sure that the domain name remains in the address bar, so I used the URL masking service of my domain provider and now when I browse to http://www.angelosp.com/blog the address bar does not change. The problem now is that when I try to log in to my blog when I have navigated to it through http://www.angelosp.com/blog I do not receive any errors, but the logging in never actually happens as the administration menu does not show up on the blog.

Is this an issue with ASP.NET Forms Authentication and URL Masking?

Thanks in advance

Angelos Petropoulos
Sep 5, 2007 at 12:51 PM
Turns out my domain provider is sticking a frame in to do the URL masking ...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
<title>www.angelosp.com</title>

</head>
<frameset rows="100%,*" border="0">
<frame src="http://ipmou.dyndns.org/blog" frameborder="0" />
<frame frameborder="0" noresize />
</frameset>

<!-- pageok -->
<!-- 01 -->
<!-- 7.0-->
</html>