Page 1 of 1

session not expiring on custom page

Posted: Mon Aug 21, 2017 11:00 pm
by nyukuri

Hello,

when the session is expired, the user is automatic logged out.

Is it possible, that on just one specific (custom) page the user is never logged out, meaning the session not expiring? How can I do that?

Thank you for your help,
Nyukuri


Re: session not expiring on custom page

Posted: Tue Aug 22, 2017 1:38 pm
by arbei

In your custom page, update the variable EW_SESSION_KEEP_ALIVE_INTERVAL in JavaScript, then the page will keep posting request and keep the session alive.

For example:
<script type="text/javascript">
EW_SESSION_KEEP_ALIVE_INTERVAL = 10; // The request will post every 10 seconds.
</script>

Read the example in help file topic: "Tools" -> "Advanced Settings" -> "Session keep alive interval (seconds)"