You must Sign In to post a response.
  • Category: WCF

    ReliableSession enabled=“true” in Service or client site?

    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?
    <binding name="netTCP" receiveTimeout="00:00:10">
    <reliableSession enabled="true"/>
  • #763802
    Hai Pinky,
    Are you doing the synchronous call or asynchronous call. Reliable messaging will work only for synchronous call so you need to make sure that the service call should be synchronous in this case.
    Please find below link for more details:

    Hope it will be helpful to you.

    Pawan Awasthi(DNS MVM)
    +91 8123489140 (whatsApp), +60 14365 1476(Malaysia)

Sign In to post your comments