mike55 Posted October 6, 2004 Posted October 6, 2004 Hi all Am attempting to switch from Windows authentication to Forms authentication on my project.The first step of setting the authentication is no prob. <authentication mode ="Forms"> </authentication> Now the default start page is a page called Login.aspx, my default webpage is "Default.aspx", now to specify this i went <authentication mode ="Forms"> <Forms loginurl="Default.aspx"></Forms> </authentication> The problem is that the application will not recognise the loginUrl keyword. Anyone got a suggestion Mike55 Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
mike55 Posted October 6, 2004 Author Posted October 6, 2004 Hi all Am attempting to switch from Windows authentication to Forms authentication on my project.The first step of setting the authentication is no prob. <authentication mode ="Forms"> </authentication> Now the default start page is a page called Login.aspx, my default webpage is "Default.aspx", now to specify this i went <authentication mode ="Forms"> <Forms loginurl="Default.aspx"></Forms> </authentication> The problem is that the application will not recognise the loginUrl keyword. Anyone got a suggestion Mike55 Problem solved, the web.config file seems to be case sensitive. Mike55 Quote A Client refers to the person who incurs the development cost. A Customer refers to the person that pays to use the product. ------ My software never has bugs. It just develops random features. (Mosabama vbforums.com)
The One Who Was Posted October 7, 2004 Posted October 7, 2004 Greetings Mike: This is a sample of the web config settings I use. Modify them how you like. I believe that it is case sensitive. <authentication mode="Forms"> <forms name="SiteName" protection="All" loginUrl="yourloginpagehere.aspx" timeout="60"/> </authentication> Hope this is somehow usefull to you. Quote ~~ The One Who Was ~~
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.