cancel
Showing results for 
Search instead for 
Did you mean: 

Forcing iview "session timeout"

Former Member
0 Kudos

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 🐵

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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