This is a migrated thread and some comments may be shown as answers.

Jquery keep alive session

1 Answer 150 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
benitolopez_sistemas
Top achievements
Rank 1
benitolopez_sistemas asked on 31 Jul 2010, 07:07 AM
I need to have endless session. I've tried a lot of ways but my page continues lossing session.

I want to know if  I need to configure something special in the IIS.

The latest trick I used it was to have an iframe calling an asp.net web page, but it doesnt works. Ok, this scenario works only locally but when I move it to the production environment it doesnt works.

Can somebody share a working sample jquery + telerik, for doing session keep alive?

Thanks

1 Answer, 1 is accepted

Sort by
0
T. Tsonev
Telerik team
answered on 04 Aug 2010, 05:15 PM
Hello,

You can keep the session alive with a relatively simple (and dirty) set-up.

<asp:UpdatePanel runat="server" UpdateMode="Conditional">
    <ContentTemplate>
         
    </ContentTemplate>
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="Timer1" />
    </Triggers>
</asp:UpdatePanel>
 
<asp:Timer runat="server" ID="Timer1" Interval="60000" />

This will, however, execute a complete page life-cycle on the server, so you might want to put it in a separate page that you then load using a hidden iframe.

I hope this helps.

All the best,
Tsvetomir Tsonev
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
benitolopez_sistemas
Top achievements
Rank 1
Answers by
T. Tsonev
Telerik team
Share this question
or