C
C. Moya
I'm a bit stumped by this one: It seems that when I connect to my
application using the server's intranet name (http://intranetserver/MyApp/)
FormsAuthentication kicks back the user to the Login page after I call
RedirectFromLoginPage. It works fine if I access the server by IP address
(http://xx.xx.xx.xx) and if I access the server over its public domain name
(http://www.myserver.com).
Why is this happening?
I have IIS set to Anonymous Auth. Windows Auth is disabled. My web.config
auth section looks like this
<authentication mode="Forms">
<forms name=".MyAppAuth" loginUrl="Logon.aspx"/>
</authentication>
<authorization>
<deny users="?"/>
</authorization>
application using the server's intranet name (http://intranetserver/MyApp/)
FormsAuthentication kicks back the user to the Login page after I call
RedirectFromLoginPage. It works fine if I access the server by IP address
(http://xx.xx.xx.xx) and if I access the server over its public domain name
(http://www.myserver.com).
Why is this happening?
I have IIS set to Anonymous Auth. Windows Auth is disabled. My web.config
auth section looks like this
<authentication mode="Forms">
<forms name=".MyAppAuth" loginUrl="Logon.aspx"/>
</authentication>
<authorization>
<deny users="?"/>
</authorization>