I also need a LogIn service, but do not see a way to reference more than one service in the handler factory.
Is there a way, or example of how to handle this situation?
You can create new handler for Login service and use it. In this case initialization for the handler will be the next:
namespace WebApplication
{
public class LoginHandlerFactory : RemObjects.SDK.Server.Web.WebProcessor
{
private LoginHandlerFactory()
{
this.EntryAssembly = typeof(ClassLibrary.LoginService).Assembly;
this.ServeRodl = true;
this.Dispatchers.Add("bin", new RemObjects.SDK.BinMessage());
}
. . .
}
}
Will this allow use of session managent?
If so, do you have an example of how to do this in a handler?
Please consider to use Olympia Server(see more about Olympia Server Documentation | RemObjects Software ) to store and retrieve session information. Take a look at RemObjects SDK example “Session Types” (see it at “C:\Users\Public\Documents\RemObjects Samples\RemObjects SDK for .NET\C#\Session Types” ) and corresponding article Documentation | RemObjects Software . The sample shows how to store and then retrieve session from Olympia server.
In your case you can check login/password in Login handler, then store session in Olympia server. In the main handler you can retrieve session info from Olympia server.