Save object in PHP session
We developing a web app that uses Ice and PHP. In each PHP page we create Ice communicator using Ice_Initialize() with some init data, then get router through getDefaultRouter, then create session from router using login and password stored in PHP $_SESSION . Each time that done, the PermissionsVerifier asks database for login/password validity and then creates a servant object. So, each page visit and each async Ajax query does authenicate and create new object. Turning on logging for authentication process, we get a bunch of messages that says "User xxx logged in". We was trying to find a way to save proxy object between queries (using Ice_Find(), stringToProxy(), proxyToString() etc) to keep it alive and not need to save login/password in PHP session, but no success, we get null object from stringToProxy(). Is this saving possible in any way? Or maybe login info saving in PHP session method is a common way for writing authenticated Ice'd applications in PHP?