I\'m coding an authentication service that have multiple methods.one of this method is ChangePassword. I want when any body wants to change the password, logon to system bef
You can activate the ASP.NET compatibility mode in your WCF service, and have all the benefits of ASP.NET sessions and context.
Add this attribute to your WCF class definition:
[AspNetCompatibilityRequirements(RequirementsMode = AspNetCompatibilityRequirementsMode.Required)]
and in your web.config: