w3hello.com logo
Home PHP C# C++ Android Java Javascript Python IOS SQL HTML videos Categories
IIS 7.5 does not redirect to login.aspx while Hosting Site that Contains Login Status Control

Try replacing the contents inside the <authentication mode="Forms"></authentication> block with:

<forms loginUrl="~/loginpage.aspx" defaultUrl="Default.aspx"
name="OpenIdProviderWebForms" timeout="2880" />

Replace the "loginUrl" attribute with the correct place to where your login page resides.

© Copyright 2018 w3hello.com Publishing Limited. All rights reserved.