Sylvain
Sylvain

Reputation: 19269

WCF : Is inactivityTimeout effective when reliableSession enabled="false"

If I have this configuration:

      <reliableSession
        ordered="true"            
        inactivityTimeout="00:10:00"
        enabled="false" />

Is the inactivityTimeout effective (even if reliableSession is not enabled)?

EDIT : If is not effective, can you control inactivity timeout elsewhere?

Thanks

Upvotes: 2

Views: 7498

Answers (2)

Sylvain
Sylvain

Reputation: 19269

I found the answer in the MSDN doc. The receiveTimeout of the Binding element is also an inactivity timeout. When reliableSession is enabled both values are effective.

Upvotes: 3

Shiraz Bhaiji
Shiraz Bhaiji

Reputation: 65421

I do not think that this is used unless you use reliable session.

You can set the timeout on the binding, there is a sendtimeout, closetimeout ....

Upvotes: 1

Related Questions