OmeroCli: session file is not removed
Posted: Wed Oct 24, 2012 2:56 pm
Hi there,
I am using OmeroCli (4.4.4-ice34-b3099) and I am kind of confused by how the 'session-dir' flag works.
If I set a customized directory for the session files by using: login --session-dir /tmp
the first session file is properly created but it doesn't get removed after logging out. Consequently if I, afterwards, type again 'login --session-dir /tmp' to log in with a different user then OmeroCli logs me in with the old session file, and therefore with the previously logged on user.
Additionally, according to the documentation, one could see the current path to the session file by typing 'sessions file' in OmeroCli. I get no path whatsoever with this command if I have first set the path via 'session-dir'. I do get the default path if I omit the 'session-dir' option.
Does anybody know if this is the intended behavior?
Cheers!
I am using OmeroCli (4.4.4-ice34-b3099) and I am kind of confused by how the 'session-dir' flag works.
If I set a customized directory for the session files by using: login --session-dir /tmp
the first session file is properly created but it doesn't get removed after logging out. Consequently if I, afterwards, type again 'login --session-dir /tmp' to log in with a different user then OmeroCli logs me in with the old session file, and therefore with the previously logged on user.
Additionally, according to the documentation, one could see the current path to the session file by typing 'sessions file' in OmeroCli. I get no path whatsoever with this command if I have first set the path via 'session-dir'. I do get the default path if I omit the 'session-dir' option.
Does anybody know if this is the intended behavior?
Cheers!