Odoo Help


Session timeout problem.

Khulan Batbayar
on 3/18/15, 4:56 AM 1,339 views


I changed session timeout from http.py session_gc() function

last_week = time.time() - 60

in OpenERP 7. But it seems not working.

Has anybody experienced same? How do you change session timeout. Are there any configuration?

Sorry, but after some time and few restart later, session timeout is workind now.

Khulan Batbayar
on 8/20/15, 2:27 AM
Axel Mendoza
On 8/3/15, 10:13 AM

I solve this by creating a SessionStore using Redis to store session values under keys with a limited time to expire those keys managed by Redis

On 3/18/15, 6:57 AM

hi, can you change like that in that file?

last_week = time.time() - 60*60*24*7 .

If it does not work means change the time with the seconds

Khulan Batbayar
On 3/18/15, 10:32 PM

http.py was like this.

I changed into last_week = time.time() - 60 form in order to check whether it's working. But it's not working.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

2 follower(s)


Asked: 3/18/15, 4:56 AM
Seen: 1339 times
Last updated: 8/20/15, 2:27 AM