Hi, so if user login, I need to start a session, send its id to qooxdoo then in every request to server I've to use that session id.
for mySQL, I'm using PDO, looks as performant as mysqlnd http://forge.mysql.com/wiki/PHP_PDO_MYSQLND Regards Gregory Beaver wrote > > Take a look at http://php.net/session > > Just use cookies (the default setting) to pass the session ID and > qooxdoo will automagically pass this to PHP. > > As for persistent database connection, this may not be more efficient > but is also very easy. You should be using the most recent Php 5.3 > and use http://php.net/mysqlnd and your connections will be much > faster regardless of persistence. > > Derrel's suggestion on error code is the right way to go. One note: > for security purposes, make sure every file has a session and login > check if it can serve sensitive data, and that it sends an error if > not. > > Greg > > > > On Mar 11, 2012, at 10:04 AM, 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. >> >> 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? >> >> Regards >> >> -- >> View this message in context: >> http://qooxdoo.678.n2.nabble.com/rpcphp-sessionID-and-mysql-persistant-connection-tp7363149p7363149.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 >> qooxdoo-devel@.sourceforge >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > ------------------------------------------------------------------------------ > 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 > qooxdoo-devel@.sourceforge > 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-tp7363149p7363876.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 qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel