Odoo Help

0

Session timeout problem.

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

Hi!


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
1
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

1
Vasanth
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

0
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.

Register

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)

Stats

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