[Chat] outsystems.api.requestInfo.getSessionKey() is generating same code everytime

Forge Component
Published on 2015-11-24 by Hélio Dolores
36 votes
Published on 2015-11-24 by Hélio Dolores

Hi Team, 

I am using the chat component in our application. Recently i have upgraded Platform to 10.0.1019 version and have started facing an issue. The outsystem.api.requestInfo.getSessionKey() is returning same value everytime. Also, i see same value is getting added on Sessions array which is different from the sessionkey being sent. This is causing an invalid user session and chat is not functioning.

I have republished all the modules too. Any help in this context would be highly appreciated.




After further debugging i found below method retrunging same value everytime when called from Outsystems.

public void MssGetSessionKey(out string ssValue) {
ssValue = AppInfo.GetAppInfo().OsContext.Session.SessionIDHash;

 I have updated and republish the source code from integration studio. still no luck.



Hi Kunal, 

Sorry for the last response. The only thing I see is that the "SessionIDHash" is now deprecated. We should use the SessionId instead. 

I don't know if it solves the problem. I'm not using/supporting this component for a while.

Hope this helps,