Last post Dec 22, 2015 12:47 PM by l.laxmikant
Dec 11, 2015 04:55 AM|maniarjunan|LINK
I'm using WCF methods in HTML asp.net web application.
At very first I was authenticating the user in WCF service class file using forms authentication. but i was unable to detect the user identity in the front end aspx pages.
So by passing the user name to aspx from the wcf back end to the aspx I'm authenticating once again in the aspx pages.
Now the problem is I was not able to detect the session in the wcf back end when i request a new request from the aspx pages..The assigned session value is getting null .
Can anyone help me out to resolve this,
Thank you in Advance
Dec 11, 2015 12:42 PM|mgebhard|LINK
WCF Session is not like ASP Session. If you are trying to implement ASP session in WCF then you have a design issue.
Dec 22, 2015 12:47 PM|l.laxmikant|LINK
you will have to manage WCF sessions using InstanceContextMode property.
[ServiceBehavior(Name = "FileManager",
Namespace = "http://northwind.com/FileManager",
public class FileManagerService : IFileManager
public bool updatepProducts(string productDetails)
for detail description see
wcf sessions using insancecontextmode