Hi,
I am a beginner in python programming and I am developing a command line application which will communicate to the open exchange mail server in my firm and get data such as contacts, appointments, etc.,
I used a simple REST client from Google chrome to check how the communication between my client pc and server system is working, I found that my client pc uses a header[Cookie : JSESSIONID=111c4c71fa4a46889056d67f6373f16e.APP1; open-xchange-secret-nglMVtP1wjw2pZFWK7R4CA=f4badb59cf2b4e09b448284af05 4a864; open-xchange-public-session=9b055007fd704114b31d3eeeb92344a7] which it received from server during the authentication of login process to keep my session alive and to do the other operations like logout, get data, etc.,
Now my question is that when I login I get a session id and random id as response data [{"session":"6cb643b7b26b48b5bca489bb5615f1ac","loc ale":"en_US","random":"f45d21e4266347b88ec1d8dfe93 90ec4","user_id":824,"user":"ravisn"}] so can I use this information to keep my session alive and do other tasks like logout, get data, etc.
Also what is the uses of the header [Cookie : JSESSIONID=111c4c71fa4a46889056d67f6373f16e.APP1; open-xchange-secret-nglMVtP1wjw2pZFWK7R4CA=f4badb59cf2b4e09b448284af05 4a864; open-xchange-public-session=9b055007fd704114b31d3eeeb92344a7]
and what is the use of session and random ids [{"session":"6cb643b7b26b48b5bca489bb5615f1ac","loc ale":"en_US","random":"f45d21e4266347b88ec1d8dfe93 90ec4","user_id":824,"user":"ravisn"}]
Thank You & Regards,
Sanjay
I am a beginner in python programming and I am developing a command line application which will communicate to the open exchange mail server in my firm and get data such as contacts, appointments, etc.,
I used a simple REST client from Google chrome to check how the communication between my client pc and server system is working, I found that my client pc uses a header[Cookie : JSESSIONID=111c4c71fa4a46889056d67f6373f16e.APP1; open-xchange-secret-nglMVtP1wjw2pZFWK7R4CA=f4badb59cf2b4e09b448284af05 4a864; open-xchange-public-session=9b055007fd704114b31d3eeeb92344a7] which it received from server during the authentication of login process to keep my session alive and to do the other operations like logout, get data, etc.,
Now my question is that when I login I get a session id and random id as response data [{"session":"6cb643b7b26b48b5bca489bb5615f1ac","loc ale":"en_US","random":"f45d21e4266347b88ec1d8dfe93 90ec4","user_id":824,"user":"ravisn"}] so can I use this information to keep my session alive and do other tasks like logout, get data, etc.
Also what is the uses of the header [Cookie : JSESSIONID=111c4c71fa4a46889056d67f6373f16e.APP1; open-xchange-secret-nglMVtP1wjw2pZFWK7R4CA=f4badb59cf2b4e09b448284af05 4a864; open-xchange-public-session=9b055007fd704114b31d3eeeb92344a7]
and what is the use of session and random ids [{"session":"6cb643b7b26b48b5bca489bb5615f1ac","loc ale":"en_US","random":"f45d21e4266347b88ec1d8dfe93 90ec4","user_id":824,"user":"ravisn"}]
Thank You & Regards,
Sanjay
Comment