I'm connecting to ContentServices with the RemoteLoginManager. In our webapplication we sometimes need a s2slogin for some functions, that's why I logout from the normal session and make a new s2slogin. After that I logout the s2s-session and login to a normal session.
But after some requests to ContentServices I get a "Session is disconnected".
The I tried to do a login for every function that uses ContentServices. But then I run out of sessions.
So my question now is, what is the best login-practice? Or what can I do to prevent that my session will be disconnected?