Posted on: 10/16/2012 2:52:09 AM | Views : 327

Hi, I have an ASP.net Website using 2 WCF Services.
1. System.Web.ApplicationServices.AuthenticationService for authentication.
2. Service1 and IService1 for testing.
I have another website and added 2 referenses to these 2 services.
I can login using my authentication service very well and everything is fine.

The problem is...
my Service1 does not know my authenticated user when i call a method. 
public class Service1 : IService1 { public string GetUserName() { return System.Web.HttpContext.Current.User.Identity.Name; } } This method returns an empty string. even after i call login method of AuthenticationService
serviceClient.Login("amin", "123456", "Not used by the default membership provider.", false)



...

Go to the complete details ...