Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[14.0] auth_session_timeout: expiration checking #259

Closed
alexeirivera87 opened this issue Mar 26, 2021 · 8 comments
Closed

[14.0] auth_session_timeout: expiration checking #259

alexeirivera87 opened this issue Mar 26, 2021 · 8 comments
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.

Comments

@alexeirivera87
Copy link

expired = getmtime(path) < deadline

Hello,
it is working the expiration checking? I set the system parameter to 120 seconds, and after that time the user session is not terminated. Am I missing a detail?

@alexeirivera87 alexeirivera87 changed the title expiration checking [14.0] auth_session_timeout: expiration checking Mar 30, 2021
@lonelyleaves
Copy link

me too ,this model not work!

@prakashjain
Copy link

prakashjain commented Apr 16, 2021

Me too, this model not work!

While debugging code


  1. Comments/Issue: To calculate deadline time the above formula used, is logic correct? Please confirm

  2. expired = getmtime(path) < deadline

    Comments/Issue: getmtime(path) time is always greater that deadline. (So never expired is True always showing False)

  3. if session.db and session.uid:

    Comments/Issue: if manually called this function session.uid always showing None, so session logout code never called
    session.logout(keep_db=True)

Please confirm the above issue and provide the fix solutions.

Edit: It seems getmtime(path) Get modify time session path always showing current time (utc) after odoo idle
Any updated on the issue? Please fix

@prakashjain
Copy link

Please reply any solutions regarding the above issue?

@prakashjain
Copy link

auth_session_timeout version 14 tested not working, Testing purpose 2 or 5 minutes set.
Issue opened more than 2 months, but no reply.
Please let me know how to fix the above issue.

@lonelyleaves
Copy link

auth_session_timeout v14 is not work, inactive_session_time_out_delay is 600,but opened more than 10min ,it‘s no reply.

@github-actions
Copy link

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label May 22, 2022
@thomaspaulb thomaspaulb reopened this Jul 2, 2023
@thomaspaulb
Copy link
Contributor

Fixed in #535

@github-actions github-actions bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jul 9, 2023
Copy link

github-actions bot commented Jan 7, 2024

There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale PR/Issue without recent activity, it'll be soon closed automatically.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants