I've set the timeout of my application to 540 as follows:
<system.web>
    <authentication mode="None" />
    <sessionState timeout="540" />
    <customErrors mode="Off" />
    <compilation targetFramework="4.5" debug="true" />
    <pages controlRenderingCompatibilityVersion="4.0" />
</system.web>
The IIS timeout is set to 20 (I can't touch this part as it's on a shared-server).
Everytime I run the application it disconnected after 20 minutes, I assume it's due to the IIS timeout.
How can I override the IIS timeout to fit my web.config timeout? on my computer (where I have control on the IIS timeout), it's working good, but not on the server.
Thank you all.
 
    