[ome-devel] SessionID from script?

Josh Moore josh at glencoesoftware.com
Wed Jan 19 17:55:45 GMT 2011


Similarly,

 client.getSessionId()

which doesn't isn't a remote method call as getAdminService and getEventContext are.

Cheers,
~Josh.

On Jan 19, 2011, at 6:38 PM, Will Moore wrote:

> Hi Jerome,
> 
> try this:
> 
> >>> session.getAdminService().getEventContext()
> 
> More explicitly:
> 
> >>> session.getAdminService().getEventContext().sessionUuid
> 
> 
>  Will.
> 
> 
> On 19 Jan 2011, at 17:25, Jerome Avondo wrote:
> 
>> Is it possible to get the sessionid string in a python script?
>> Tried to look for a member function on the session object but can't see anything obvious.
>> Thanks,
>> 
>> J.



More information about the ome-devel mailing list