Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have created service which uses nettcpip binding.I want check session id of client and server.According to my knowledge by default reliable sessions are not enabled.That's why I am getting different value.I want to enable reliable sessions so I can get same session id for client and server.In which config file I have to do that setting, service or client? I tried on server side and unable to set it on client side.I am getting different sessionid.Even I tried Wshttpbinding.In Wshttpbinding,bedefault reliablesession are enable.Still getting different id.Can anybody explain me why?

XML
<bindings>
  <netTcpBinding>
    <binding name="netTCP" receiveTimeout="00:00:10">
      <reliableSession enabled="true"/>
    </binding>
  </netTcpBinding>
</bindings>
Posted
Updated 22-Dec-15 21:49pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900