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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
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?
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
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
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.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Feb 22
|
1849 | ||
|
2
Jan 22
|
1767 | ||
|
2
Jan 22
|
2925 | ||
Button that trigger logout
Solved
|
|
2
Feb 20
|
12051 | |
|
1
Oct 15
|
10897 |
Sorry, but after some time and few restart later, session timeout is workind now.