Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Login form not working when deployed
Message
De
30/01/2009 14:13:55
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
30/01/2009 13:56:57
Tegron Tegron
Platinum Technologies
Ohio, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows Server 2003
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01378518
Message ID:
01378532
Vues:
22
>It works fine when I am in developer mode. When I deployed the app to the test area and run any form, it appears to login but it is displaying a message page that says that "You are now logged in" with a title of "Logged in...". It then just stops there. It never redirects to any pages. I have set up the security like described in the documentation with the RequiresSecurity override. For some reason it appears to be losing the redirect page information.
Ah, OK. The redirect is stored in a session variable. What is the environment for the test area? You could put some code in the HookUserAuthenticated to test for "mmUserSecurity_RedirectionUrl"

If you put breakpoint in the login you could step into mmBaseUserLogin.Login() to see what happens in your dev part. Then you would probably see what you need to do to test in the test area.

I don't know much about IIS to know if Session use can be turned off or not, but maybe someone else does.
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform