Author: bigsibling | Posted on: 6/24/2008 9:19:33 AM | Views : 842

I have a website with a LoginView which has two templates, a LoggedInTemplate and the AnonymousTemplate. The AnonymousTemplate has the username/password boxes, a 'login' button, and 'Register' and 'Forgot Password' links.
The AnonymousTemplate displays fine. But when the user enters their username/password, the LoggedInTemplate does not display, instead, all I see is the AnonymousTemplate again. We have a three tier environment. This exact code works fine on our development and staging servers, but when we move it to production, is where we have the problem. All three use seperate databases.
The only differences between the sites are the database connection strings in the Web.Config, and the applicationName in the Web.Config. If the user enters a bad username/password, an error message is displayed to that effect. After logging in, I can go to the site admin area, and verify that I am logged in, but still only see the AnonymousTemplate.
If ...

Go to the complete details ...