sorry, I was wrong, you can just useHttpCookie authCookie = Request.Cookies[FormsAuthentication.FormsCookieName];
sorry... I could not get the username just follow: HttpCookie authCookie =Page.Request.Cookies[FormsAuthentication.FormsCookieName]; Page.Response.Write(authCookie.Values[1].ToString()); Page.Response.End();I just get this string: 8097C115F66D32CA0145006400690074006F0072000000A01792D36C36C30101A057C2918D45FB0100002F000000
I could not get the username just follow: HttpCookie authCookie =Page.Request.Cookies[FormsAuthentication.FormsCookieName];
Page.Response.Write(authCookie.Values[1].ToString());
Page.Response.End();I just get this string:
8097C115F66D32CA0145006400690074006F0072000000A01792D36C36C30101A057C2918D45FB0100002F000000