SM SDK can decode a SMSESSION generated by normal webagent.
With AcceptTPCookie = YES normal webagent can decode SMSESSION generated by SM SDK.
So with that setup each can decode the other - I think that is what you were after here - fairly simple description that the two smsession cookes are cross comparable - is that correct?
The SM SDK also is lower level, so does not even do cookies, and you need to build that on top of the SM SDK, it's not hard - but you need to be a bit careful with spaces, quotes around cookie values, and urlencoding of the base64 characters "+" "/" and "=" .
There is also consideration of zones too, normally it is not an issue, since default zone is SM, but if you have other zones, then the XX prefix in the "zone" for XXSESSION cookies needs to be passed into some of the SMSDK functions.
Cheers - Mark