Hi,
In ASP.NET, i've written a class that handles URLRewrite. So that all
requests to say "default.aspx?id=2&basic=1" is returned as "basic.1/2.aspx".
It works beautifully...But but but....Using forms authentication the
authentification redirect somehow get redirected using the non-rewritten
url. That is....the redirect happens on the rewritten URL. Exampel:
I call "mysite.com/basic.1/2.aspx".
1. The URLRewrite rewrites the URL to "default.aspx?id=2&basic=1".
2. The Forms authentication kicks in and takes the rewritten URL as "calling
url".
3. After authentication I'm redirected back to "default.aspx?id=2&basic=1"
and not "mysite.com/basic.1/2.aspx".
Hope you understand my problem. Of course the system handles the urls, but
it looks odd. I need to be able to intercept the Forms authentication and
handle it the proper URL. Any ideas? Perhaps some event that I'm not
familiar with?
--
Thx,
Summa