Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
885
Session Timeout when using WebTab functionality
posted

I seem to be getting different answers on this subject, but I am trying to implement a session countdown timer on my main page which

utilizes a web tab. The core of my application is hosted on three different tabs but the countdown timer is stored in my header which sits

just above the web tab definition.

So question: when switching between tabs (with all tabs loaded by contenturl definitions), does the session get extended during AJAX

postbacks? When a button is clicked to perform an action, the Page_Load method fires and one of the first things you do is to check

the Postback variable as you do certain functions if you are in a "Postback" situation or not. So, if "!Postback" condition is the case,

does a Session get extended?

I can understand if this topic is somewhat unrelated to webtabs themselves, but given that my countdown timer sits parallel to the webtab,

I find it relevant. I do have the jscript in place and the countdown does get launched and it the timer updates, but don't know when 

the session gets extended.

Paul

Parents
  • 23953
    Offline posted

    Hello Paul,

    What are your WebTab's PostBackOptions? I guess that if you enabled "EnableReloadingOnTabClick" option the session should get extended.

    Basically the WebTab doesn't contain any session related code, but if the pages configured in Tab's ContentUrl are reloaded each time a tab is activated then the session cookie is sent to the server as part of the request.

    Best regards,
    Martin Pavlov
    Infragistics, Inc.

Reply Children