Automatic Logoff using Timer in Prometheus

4 posts, 0 answers
  1. Ayyappan
    Ayyappan avatar
    1 posts
    Member since:
    Mar 2008

    Posted 21 Mar 2008 Link to this post

    Hi

    I'm using prometheus 2007.3.1425.35 controls for my C# project.
    I need to log off the user if the user is inactive for eg 20 mins.Can i do it with any of the controls(Timer) in prometheus?

    I dont find any equivalent control for RadTimer in Prometheus.

    Please provide me any samples if you could.

    Thanks

    -Ayyappan

  2. 314
    314 avatar
    11 posts
    Member since:
    Feb 2008

    Posted 21 Mar 2008 Link to this post

    Why don't use VS timer function?
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 23 Mar 2008 Link to this post

    If you're using Forms Authentication then you can set the expiration of the cookie in the web.config.  This would be by far the easiest way to accomplish what you're after.

    If you're trying to give a "You will be automatically logged out in XX minutes of inactivity" you could simplify that by saying "You will be automatically logged out in 20 minutes of inactivity.  Last activity was HH:MM:SS".
  5. Par
    Par avatar
    8 posts
    Member since:
    Feb 2008

    Posted 25 Mar 2008 Link to this post

    Thanks for the reply Shaun.

    But i need to show the countdown with the Cancel button before 30 seconds of session expiry.

    If the user cancels it,session should not be terminated.Otherwise the user should be logged out and redirected login page.


    Thanks
    -Ayyappan
Back to Top