Posted on: 8/20/2014 11:46:31 AM | Views : 596

Hi,
I have used the below code to keep the session alive: The code snippet is taken from another post found in this forum
<script type="text/javascript"> var keepMeAlive = function () { var clickButton = document.getElementById("<%= __TimeOutButton.ClientID %>"); clickButton.click(); }; </script> <asp:Button ID="__TimeOutButton" runat="server" Style="display:none"/> <asp:UpdatePanel ID="UpdatePanel1" runat="server" Style="display:none"> <ContentTemplate> </ContentTemplate> <Triggers> <asp:AsyncPostBackTrigger ControlID="__TimeOutButton" /> </Triggers> </asp:UpdatePanel> But the trigger is not happening, I mean, the session is getting timed out.
I cannot use the scriptManager in the current aspx page, as it ...

Go to the complete details ...