Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application Administration form
Message
De
28/07/2011 14:00:26
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Application Administration form
Versions des environnements
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01519495
Message ID:
01519495
Vues:
74
The Application Administration form (Admin/default.aspx) displays Anonymous User after I log in using MM security.

I have set the RequiresSecurity to true and I am asked to login. After I successfully log in the Logged on User still shows Anonymous User.

This is the code in the default.aspx file that should show me logged in.
 < %= User.Identity.Name == "" ? "Anonymous User" : User.Identity.Name %>
I have checked User.Identity.Name after I log in and it is an empty string.

All of the fields in the Users table for my log in are populated with data.

Anyone know why User.Identity.Name is not being populated?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform