Hi Derrel, thank you very much, I like this forum because (among other reasons) you can get support 7/7, 24/24.
Regards, Derrell Lipman wrote > > On Sun, Mar , 2012 at 11:04, slah <slachtar@> wrote: > >> Hi Derrel, Hi all of you, >> >> I'm using rpcphp and I wonder >> >> 1. howto force session usage so users cannot issue any rpc requests >> unless >> they already opened a session. and how to get sessionID. >> > > PHP provides session mechanism. It's been many, many years since I've > actually used the RPC PHP implementation that I wrote, or in fact, since > I've even used PHP. When I wanted to do something similar to what you're > requesting (only allow the RPC to be executed if the user was logged in), > I > sent back an RPC error code that indicated that the user was not logged > in, > which caused the frontend code to display a login form. > > >> 2. is it possible once a session is opened to maintain a single database >> connection (MySQL) and use it for all future requests within the same >> session. My assumption is that using same db connection will speed up >> server >> replies, is that true? >> > > When last I used PHP, I do not believe it supported persistent database > connections. I would not surprise me at all if it now does. Sorry I'm not > of more help. Hopefully someone else will chime in with a more complete > answer. > > Cheers, > > Derrell > > ------------------------------------------------------------------------------ > Virtualization & Cloud Management Using Capacity Planning > Cloud computing makes use of virtualization - but cloud computing > also focuses on allowing computing to be delivered as a service. > http://www.accelacomm.com/jaw/sfnl/114/51521223/ > _______________________________________________ > qooxdoo-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > -- View this message in context: http://qooxdoo.678.n2.nabble.com/rpcphp-sessionID-and-mysql-persistant-connection-tp7363149p7363174.html Sent from the qooxdoo mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
