Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.