Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Application Administration form
Message
From
28/07/2011 14:00:26
 
 
To
All
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Application Administration form
Environment versions
Environment:
C# 3.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01519495
Message ID:
01519495
Views:
73
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?
Next
Reply
Map
View

Click here to load this message in the networking platform