Initial publication: October 12, 2011
Last reviewed on: October 12, 2011
Last updated on: October 12, 2011
When using the Remote API, it is not possible to re-establish a session. If one attempts to due so, an error occurs. Re-establishing a session is useful when adding state to a stateless application or switching between multiple sessions frequently.
The following code snippet, which is a trivial illustration of how to re-establish a session, fails with this exception message: There is no implementation for the ISessionManager endpoint
var session = Session.EstablishSession(new Credentials(UserName.Text, Password.Password)); Session.Rebind(session.Token);
Apprenda has issued HotFix #2424 to address this problem for customers running the affected versions listed below. This problem has since been resolved and does not occur in later versions. Customers can apply the HotFix or upgrade to the next SaaSGrid release.
Should I apply the HotFix?
Customers should apply the HotFix only if all three conditions apply:
What does the HotFix Entail?
The fix involves updating a DLL, specifically SaaSGrid.API.Remote.dll in your local installation of the SaaSGrid SDK, located on most machines at C:\Program Files (x86)\Apprenda\SaaSGrid\SDK\API Files and then re-building the application(s) using the Remote API feature.
Is there a Manual Workaround?
In many use cases, it is possible to establish a new session for each request or set of requests made by the same authenticated user, even though it may not be ideal to do so due to architectural or performance implications.
How do I obtain the HotFix?
Contact Apprenda Client Services (support@apprenda.com) and we will provide you with HotFix #2424.
Applicable Component(s)2424:
Affected Version(s):
2424