This question has been flagged
3 Replies
5262 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?

Avatar
Discard
Author

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

Best Answer

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Author Best Answer

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.

Avatar
Discard