Symantec Access Management

Expand all | Collapse all

Automatic Redirection to Login page on Session Idle Timeout

Jump to Best Answer
  • 1.  Automatic Redirection to Login page on Session Idle Timeout

    Posted 05-22-2018 02:32 AM

    Hi,

     

    I am using CA Single Sign-On 12.52

     

    The values are set for the attributes IdleTimeout (15 minutes) & MaxTimeout (2 hours) in Agent Configuration Object.

     

    After this configuration, the following behaviors occur:

    1. The user logged into the application
    2. He leaves the application screen IDLE for 20 minutes
    3. After that time, he can see the application screen as such where he left idle
    4. Then, when he clicked any link/button in that application page, he is redirected to the login page

     

    My requirement:

    • Once the idle timeout is reached, the login page should be shown automatically.
    • In case of idle timeout, the application (or SiteMinder) should not wait for the user to do some operations, to redirect to the login page.

    For ex:

    • The user logged into the application.
    • He locked his desktop and left his place for a while.
    • After 15 minutes when he unlocked his desktop and see his application's web browser, he should see the login page only.

     

    My questions:

     

    Kindly suggest me on the following:

    • Is this requirement possible in SiteMinder?
    • For this, any configuration to be done on Web Server side (IIS) to this auto-redirection?

    I assume that this is nothing to do with IdleTimeoutURL

     

    Thanks,

    Mahendran

     



  • 2.  Re: Automatic Redirection to Login page on Session Idle Timeout
    Best Answer

    Posted 05-24-2018 12:29 PM

    Hi Mahendran,

     

    It is not possible implement Automatic Redirection to Login page on Session Idle Timeout with OOTB, Because server will not know about the stuff at the client side. There is no connection between server and client after request/response phase. Therefore you will need to constitute another request to the server in order to find out the state of the session held on server. There is no way around this. 

     

    The only way is to write code in your sample page using SDK and decode the cookie and then figure out the idle time.

    Also I found below link for you which might give some hints.

    Automatically redirect User after Session Timeout in ASP.Net 

     

    Hope this helps.

     

    Thanks,
    Sharan



  • 3.  Re: Automatic Redirection to Login page on Session Idle Timeout

    Posted 05-25-2018 01:50 AM

    Hi Mahendran,

     

    As Sharan said, there is no ootb solution for this.

    However, I was able to impelment this with custom active response and meta tag in classic ASP.

    Details here :

    Tech Tip – How to automatically redirect user to login page after idletimeout 
    Regards,

    Ujwol



  • 4.  Re: Automatic Redirection to Login page on Session Idle Timeout

    Posted 05-25-2018 03:01 AM

    Thanks much Ujwol for your effort to provide the snippets in your blog.

     

    - Mahendran