Notification timeout FormsAuthentication ticket

2 posts, 0 answers
  1. Alan T
    Alan T avatar
    125 posts
    Member since:
    Apr 2010

    Posted 20 Jun 2012 Link to this post

    Hi there, i've been looking at your session timeout notification demo, and i was wondering whether this could work in conjunction with the forms authentication ticket?

    I'm sure it would be relatively straight forward, any chance you could point me in the right direction ?

  2. Marin Bratanov
    Marin Bratanov avatar
    4441 posts

    Posted 21 Jun 2012 Link to this post

    Hi Alan,

     The session timeout demo simply shows a way to configure the RadNotification to show at a certain time and how its callback can renew the session. Where you obtain the length for the ShowInterval depends on your scenario, yet the session timeout is likely to work in all major cases. The control itself does not monitor the session and is not related to the authentication on the site. You can, for example, check if the user is authenticated and if not - simply remove the notification if this is what you want to do (Visible=false). The formt authentication ticket itself is just the way the session / user id is passed between the server and the client.

    Marin Bratanov
    the Telerik team
    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 their blog feed now.
Back to Top