1159
Views
6
Comments
Automatic session expire
Question

After inactivity of 20 mins on a page, the session must expire and redirect to Login Page again automatically.

How can I implement the same? 

2019-10-29 12-40-04
Nikolai Kaplin

Hi,

OutSystems do it automatically. Please, look through the article.

Session Timeout

The session timeout specifies the period of time that a session can remain idle, without any end-user interaction, before the Platform Server ends the session automatically.

The default value for the session timeout is 20 minutes and this value can be configured in machine.config file.

2023-12-11 08-54-13
Neha Agrawal
Champion

Nikolai Kaplin wrote:

Hi,

OutSystems do it automatically. Please, look through the article.

Session Timeout

The session timeout specifies the period of time that a session can remain idle, without any end-user interaction, before the Platform Server ends the session automatically.

The default value for the session timeout is 20 minutes and this value can be configured in machine.config file.

Hi Nikolai,


The session ends but still the page is active. Need to redirect it to login page when the session ends.


Regards,

Neha

2019-10-29 12-40-04
Nikolai Kaplin

Neha Agrawal wrote:

Nikolai Kaplin wrote:

Hi,

OutSystems do it automatically. Please, look through the article.

Session Timeout

The session timeout specifies the period of time that a session can remain idle, without any end-user interaction, before the Platform Server ends the session automatically.

The default value for the session timeout is 20 minutes and this value can be configured in machine.config file.

Hi Nikolai,


The session ends but still the page is active. Need to redirect it to login page when the session ends.


Regards,

Neha

After timeout the first request will send you to the login page, does not it?


2025-11-18 12-43-07
Mariana Junges
Champion

Neha Agrawal wrote:

Nikolai Kaplin wrote:

Hi,

OutSystems do it automatically. Please, look through the article.

Session Timeout

The session timeout specifies the period of time that a session can remain idle, without any end-user interaction, before the Platform Server ends the session automatically.

The default value for the session timeout is 20 minutes and this value can be configured in machine.config file.

Hi Nikolai,


The session ends but still the page is active. Need to redirect it to login page when the session ends.


Regards,

Neha

 

 

Hello,


please, Could you tell me where the session ends are, so you can redirect it?


"The session ends but still the page is active. Need to redirect it to login page when the session ends."

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

Hi,

For PaaS infrastructures use Factory Configuration to configure the session timeout.

Regards,

Daniel

2020-07-29 19-08-40
Sanjay Kumar Sahu

Neha Agrawal wrote:

After inactivity of 20 mins on a page, the session must expire and redirect to Login Page again automatically.

How can I implement the same? 

 Hello Neha,


I got your concern. Session Expire itself means that your web page has lost its connectivity to internet and it is no more active page(user data also expired) so it cannot re-direct to login page itself. Once a request is made to site again, it will automatically redirect request to login page. 

For your requirement, You have to develop your own logic that will check if there is inactivity till expiry limit and just before session expire, you have to re-direct to login page and kill session immediately.


Thanks,

 Sanjay

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.