I started the Patterns in Action 4.0 application. After I login the application, I leave the application more than 30 minutes. Then, when I use it again, the following error occurred.
"CommunicationException was unhandled
The underlying secure session has faulted before the reliable session fully completed. The reliable session was faulted."
I know that setting a longer time for the timeout is one of the solution (e.g. Set SendTimeOut and ReceiveTimeOut to 24 Hours). However, are there any other solutions?
Also, the WCF service will be started once the application is started. Can I change it to start the service only when neccessary? E.g. new the service when user need to retrieve the customer information. After finished, close the service.