Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8710053
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T04:31:26+00:00 2026-06-13T04:31:26+00:00

I am trying to make a WCF service which uses callbacks to the client.

  • 0

I am trying to make a WCF service which uses callbacks to the client. I would like the channel to be kept open as long as there is a connection (internet, network) and either the client or channel have not explicitly closed the channel.

In order to keep the channel open (even without activity) I found the reliable sessions that WCF supports. I see that by using reliable sessions, there are two timers which one needs to take into consideration: the Binding.ReceiveTimeout and the ReliableSession.InactivityTimeout.

After searching on the internet, I am still unable to understand exactly how these two work together. I know that if either of the two times out, the connection goes into faulted state.

My first question: What exactly happens when reliable sessions are enable?

My second question: Here, why does msdn say the following?

Since the connection is dropped if either inactivity timer fires,
increasing InactivityTimeout once it is greater than ReceiveTimeout
has no effect. The default for both of these timeouts is 10 minutes,
so you always have to increase both of them to make a difference when
using a reliable session.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T04:31:28+00:00Added an answer on June 13, 2026 at 4:31 am

    To get an answer for your first question, have a look at the nice answer to this question:

    What is the purpose of WCF reliable session?

    To my the explanation on the msdn site is clear:
    When the time specified in ReceiveTimeout(for example 10 minutes) is reached, it will end the connection, even if the reliable session has a keep alive beeing sent (for example every 1 minute).

    The keep alive beeing sent every minute would make sure the inactivityTimout (for example 5 minutes) is never reached -therefor the channel would be kept open endlessly-, but after the time speciefied in ReceiveTimeout the session/channel still will be closed.

    So ReceiveTimeout should always be higher or the same as inactivityTimeout, as far as I understand.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make a WCF service that will work with JSON-P (long-story short,
Being completely new to WCF, I'm trying to make a RESTful service which will
I am trying to make an ajax GET request to a WCF web service
I have a WCF Web Service which is kept under an Application Pool on
I'm trying to host a WCF Service inside a Windows Service which I am
When trying to host my WCF service using Net Tcp channel through Windows Console,
I am trying to make a post request to my restful WCF service. The
I'm trying to convert an ASP.Net web service to WCF application. The client is
My client application is trying to call a wcf service using transport security. The
I'm trying to make a simple RESTFul WCF service. This is my Interface using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.