Odoo Help


This community 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.


How do I get session information?

on 7/21/14, 6:03 AM 653 views

How to retrive the current dbname and current hostname from odoo?


Ben Bernard

--Ben Bernard--
| 4 3 6
Jakarta, Indonesia
--Ben Bernard--
Ben Bernard
On 7/21/14, 11:01 AM

From client point of view, you can send POST request to <hostname>/web/session/get_session_info with payload


with session_id (I assume you already get this).

From server point of view I think you already know a suitable answer : https://www.odoo.com/forum/help-1/question/how-do-i-get-information-from-openerp-server-conf-in-python-program-57987

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 7/21/14, 6:03 AM
Seen: 653 times
Last updated: 3/16/15, 8:10 AM