Skip to Content
0
Former Member
Jan 28, 2011 at 08:40 AM

unable to kill infoview session using LogOnToken

37 Views

Hi All,

I am not able to reuse the EnterpriseSession created in java.

I have a java webapp which displays a list of webi reports with hyper-link.

when user click on a hyper-link, the web app displays the report in infoview in a iframe element.

The problem is whenever user clicks on link a extra session is being created.

I am unable to figure out the problem, why infoview is creating a new session when i am passing a valid Token.

And if i do not pass token then infoview displays login page.

The problem is my webapplication don't have any reference of infoview session so that that i can clean the sessions on webapp log-out.

I am creating session in java and putting it in HttpSession along with logOnToken.

following link i am using to open a document.

http://MyHost/OpenDocument/opendoc/openDocument.jsp?iDocID=<userSelection>&token=<logOnToken>&sWindow=Same&lang=userLocaleLang&sLang=userLocaleLang&NAII=Y

By following way i am creating token.

ILogonTokenMgr tokenMgr=boSession.getLogonTokenMgr();

logOnToken = tokenMgr.createLogonToken("",31,100);

//logOnToken = tokenMgr.getDefaultToken(); also tried with this.

have anyone encountered this kind of problem?

i would approciate even a suggestion.

For info, i have logOntoken as true in InfoViewApp and CMSApp

Thanks,

VijayS.