asp.net - Azure hosted website - FormsAuthentication not routing to defaultUrl -



asp.net - Azure hosted website - FormsAuthentication not routing to defaultUrl -

i have next setup in web.config:

<authentication mode="forms"> <forms loginurl="landing/login.aspx" defaulturl="~/member/dashboard.aspx"> <credentials passwordformat="sha1"></credentials> </forms> </authentication> <authorization> <deny users="?" /> </authorization>

this correctly redirects when testing on locahost, when published azure, logging in redirects http://mysite.azurewebsites.net/ , not http://mysite.azurewebsites.net/member/dashboard.aspx described in web.config. interestingly enough, however, trying navigate page without logging in correctly redirects defined loginurl="landing/login.aspx". should using fqdn in case defaulturl? forms authentication not setup on iis of azure server? please advise.

asp.net azure forms-authentication

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -