I am constantly uploading a user control , after putting it in a update panel.Using javascript to reload the update panel the user control is in , will it stop the session time out?Or does that depend on user involvement etc?
Code is below:
javascript function :
function checkCallbackConstantly() {
__doPostBack('<%=updateCallbacks.ClientID %>', '');
setTimeout('checkCallbackConstantly()', 1000);
}
setTimeout('checkCallbackConstantly()', 10000);
And :
<asp:UpdatePanel runat="server" id="updateCallbacks">
<ContentTemplate>
<t1:topNav ID="topNav1" runat="server" />
</ContentTemplate>
</asp:UpdatePanel>
And on the control page , i am playing with session ,so kindly let me know.
Thank you
What you implement will make the session “endless” but BEWARE that IIS recycles the app pool regularely (and sometimes also unexpectedly)… IF your sessions are not persisted this will “expire” all currently active sessions at once since all session-related information stored in memory will be lost when such a recycling happens!