Skip to Content
मेन्यू
This question has been flagged
2 Replies
4470 Views

Hi

i am using Odoo 12 an i need to check if user is logged in or not in website side ( not web side )

is there a way to do this?


Avatar
Discard
Best Answer

Hi,

If you are inside the controller, you can check like this:

if request.session.uid:

Thanks

Avatar
Discard
Author Best Answer

Yes That was it.

Thank You <3

Avatar
Discard
Related Posts Replies Views Activity
1
सित॰ 25
468
5
अग॰ 25
5062
2
अग॰ 25
1664
2
अग॰ 25
851
5
अग॰ 25
10279