Posted on: 7/17/2015 8:12:01 AM | Views : 709

Hi please help me, i have this code
public static class SiteIdentity { public static IIdentity Current { get { return System.Threading.Thread.CurrentPrincipal.Identity as IIdentity; } } public static string UserName { get; set; } } my problem is i'm two different user from two different workstation start to have the same Username when they logged in, who ever comes last gets to have its username retained, the idea is i pass the username from the Database to the SiteIdentity.Username when ever a user logs in.
Please help.
Thanks in advance

Go to the complete details ...