Prajwal7842 commented on issue #48076:
URL: https://github.com/apache/airflow/issues/48076#issuecomment-2745288581

   This looks like a nice good first feature to me. If we want to implement it, 
then I would like to try my hands on this. (new to airflow here, hence asking 
first). 
   As far as I understand from these docs: 
https://flask-session.readthedocs.io/en/latest/config.html#non-permanent-sessions
   there is no such param out of the box, that would help us get this behavior 
from Flask. 
   
   Rough Idea (custom logic, not sure if this is right): We might have to 
initialise a variable at the beginning of init_session 
(init_airflow_session_interface) and check for the duration of active session 
at every request.  If duration is more than a predefined set threshold, then we 
terminate the session and go back to login page. 
   WDYT ? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to