Joined: 05 Aug 2009
|Posted: Wed Aug 05, 2009 3:04 pm Post subject: Problems with user authentication in ASP.NET
I am having problems getting ASP.NET user authentication to work with Abyss Web Server.
I have set up a user using the ASP.NET configuration option in Visual Web Developer 2008, and tested my application within this - all works fine. When I copy the web site to the Abyss folder and access it, the login page appears and allows login with any errors, but it does not actually log on the user.
I know this because I am using LoginName1.Page.User.Identity.Name to determine the currently logged in user (I then display the user name and also use it within dynamic SQL queries). I am also using the LoginStatus asp code to show a Login/Logoff link, and this is always showing "Login".
Is there something else I need to do for ASP.NET Form based user authentication to work in Abyss Web Server?