Notification with multiple tabs

2 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    134 posts
    Member since:
    Sep 2007

    Posted 28 Sep 2013 Link to this post

    Hi I was able to get the notification working with a single page application.

     Works great.  My question is:  I have another application in which I need to implement this functionality, however that application uses multiple browser tabs all tied to the same session.  Is the notification designed to handle this kind of scenario?  If the user is working in one tab I don't want the second tab to timeout automatically and invalidate the session.

  2. Marin Bratanov
    Marin Bratanov avatar
    3564 posts

    Posted 01 Oct 2013 Link to this post

    Hi Jonathan,

    This question has been asked several times and the answer is that this is not what RadNotification does. It facilitates a timed appearance of a popup and an easy way to perform a request that will renew the session, but it does not monitor the session, nor can it know of other tabs/windows:

    What you can consider is to always keep the session alive in your tabs. You could do that without the notification. Or, you could call the ContinueSession() function when needed (e.g. when the notification has been shown, even without the user pressing the button) so that the session never ends automatically.

    Marin Bratanov
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. DevCraft R3 2016 release webinar banner
Back to Top