Odoo Help


Session timeout problem.

Khulan Batbayar
on 3/18/15, 4:56 AM 1,526 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

--Axel Mendoza--
| 7 8 8
Camaguey, Cuba
--Axel Mendoza--

DevOps - Full stack - Software Architect - Developer - Technology Integrator

I could help you to develop anything and solve complex problems based on technologies, integrations and tricky stuffs mostly in Python with OpenERP/Odoo, Zato, Django and many others frameworks programming languages and technologies.

I offers consulting services to anyone with an unanswered questions or needs for customizations. Think about it, maybe it's better to have an expert to solve your issues and projects than having a full-time employee trying to understand what to do and how

Reach me at aekroft@gmail.com

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




| 5 3 8
Pondicherry, India
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: 1526 times
Last updated: 8/20/15, 2:27 AM