During the stress test yesterday, I found a strange problem. Every time I log on to the portal (this portal is not an SAP portal but developed by myself using the Bo SDK), there will always be two sessions, in addition, only one session is closed when you exit. the fire bug found that there would be an additional session when OpenDocument was used.
It is found that the JSESSIONID in the cookie changes when get OpenDocument. jsp is used, so it is concluded that a new session must be added to OpenDocument! But I use the SDK clearly used token. The answer is in token here, http://forums.sdn.sap.com/thread.jspa? In threadid = 1385524, sunny Yang said that the getdefaulttoken method is incorrect. Although it is unclear where the method is wrong, a session is added.Createwcatoken(Java. lang. string clientcomputername, int validminutes, int validnumoflogons) does not increase the user's session. for the token method, see http://help.sap.com/javadocs/boe/xi/boe/en/com/crystaldecisions/sdk/occa/security/ILogonTokenMgr.html#createWCAToken (Java. lang. string, Int, INT ). it is clear that createwcatoken without increasing the session count.