Apologies as I do not have your answer but rather have a question instead.. how did you get hold of the class PTSessionInfo? I am trying to access similar files like PTLoginActions but can't find the library or jar file containing these classes?
can you post your code to see what you have access to when trying to get a reference to the session? there are several ways to get a handle on the session but it depends on what you have access to at the time like an activity space, PEI objects, etc. one good way to learn how to call these things is to download the UI source code for webcenter interaction from edelivery.