Hi,
I have 2 websites with 1 domain and 1 sub-domain.
I would like retrieve my odoo session when I'm connect on one website.
I have tried to add 'domain' in cookie :
response.set_cookie('session_id', httprequest.session.sid, domain=".test.testt", max_age=90 * 24 * 60 * 60)
But if I write whatever letter on domain, it works, but i would like only with my local domain
For exemple, if my domain is exemple.com, I would like to work with foo.exemple.com or too.exemple.com
But with domain=".test.testt" it works too
What is the problem with my cookie ?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
3735
Lượt xem
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
naked domain set up
Đã xử lý
|
|
3
thg 7 25
|
4259 | |
|
0
thg 5 25
|
861 | ||
|
2
thg 3 24
|
2132 | ||
|
0
thg 1 23
|
1729 | ||
|
1
thg 11 22
|
3185 |
Hello, I know this is rather old, but I'm facing the same issue with Odoo 12. Were you able to solve the problem? Is it possible to have cookies working on multiple domains?