Questions tagged [wcf-sessions]
21 questions
0
votes
1 answer
Unpredictive Behaviour of WCF netTCPBinding
I'm implementing WCF netTCPBinding and encountering a problem while running tasks related to the database. The exception is "System.Net.Sockets.SocketException: 'An existing connection was forcibly closed by the remote host' in net tcp binding".…

Faisal Sajjad
- 239
- 2
- 4
- 13
0
votes
1 answer
trouble configuring WCF to use session
I am having trouble in configuring WCF service to run in session mode. As a test I wrote this simple service :
[ServiceContract]
public interface IService1
{
[OperationContract]
string AddData(int…

Michael
- 860
- 7
- 19
0
votes
1 answer
Make WCF call ClaimsAuthenticationManager.Authenticate only once per session
I setup a custom ClaimsAuthenticationManager for my wcf service. Now I found out that the method ClaimsAuthenticationManager.Authenticate is executed for each and every wcf call. Instead I want to have it executed once per session to avoid…

driAn
- 3,245
- 4
- 41
- 57
0
votes
1 answer
Is Session id will be same for different client in Single instance context mode in WCF
Is Session id will be same for different client in Single instance context mode in WCF?
Please explain in detail.

Vikas Gupta
- 188
- 1
- 7
0
votes
1 answer
WCF - Determining when session ends on the server side
In the project I'm working on, we have several services implemented using WCF. The situation I'm facing is that some of the services need to know when a session ends, so that it can appropriately update the status of that client. Notifying the…

Arian Motamedi
- 7,123
- 10
- 42
- 82
0
votes
1 answer
WCF sessions are not specific to specific user
WCF function
public void SetSession(string name)
{
HttpContext.Current.Session["abc"]=name;
}
public string GetSession(string name)
{
return HttpContext.Current.Session["abc"].ToString();
}
Proxy
…

Mohan
- 907
- 5
- 22
- 45