Skip to Content
author's profile photo
Former Member

Forcing iview "session timeout"

I need to make sure that some confidential information on some iviews will not be left for others to see once a user leaves a kiosk where they access the portal.

Is it possible to create an iview that will redirect other iviews to another page after a certain time of inactivity?

Thanks in advance for any help :o)

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • author's profile photo
    Former Member
    Apr 21, 2004 at 12:52 PM

    The only thing that springs to mind is to use the window.top.location property in javascript from you secure iview.

    Try

    <script type="javascrip">

    //call invalidateSession in one minute (60000 ms)

    setTimeout("invalidateSession();" , 60000)

    function invalidateSession() {

    window.top.location="<url to logout page>";

    }

    </script>

    I think this requires the iframe to be in the same domain as the top window, but that shouldn't be a problem for a custom developed java iview

    Add comment
    10|10000 characters needed characters exceeded