What is the purpose of WCF reliable session?

No, a reliable session will time out just like any other session, too. The main question really is: why on earth do you want your sessions to be “endless” ?? If you really need this, you need to crank up the timeouts on the session.

The point of a reliable session is that the caller will know about any messages that are lost. Contrary to popular belief, the reliable session cannot guarantee delivery of a message – but if a message can’t be delivered, at least the caller will know about it.

Check out some of these resources for more background info:

  • Introduction to Reliable Messaging with the Windows Communication Foundation
  • Reliable messaging demystified
  • WCF reliable message delivery
  • Reliable sessions made easy with WCF

Leave a Comment