From: Reini U. <ru...@x-...> - 2002-09-12 17:33:27
|
I added now DB_Session support and updated Pear DB to version 1.3 into CVS. Should be in tomorrows nightly snapshot. Todays snapshot has a bug with DB_Session which needed to large Pear DB update. DB_Session needs PEAR DB, ie. DBParams['dbtype'] = 'SQL'. No ADODB yet. The latest Pear DB is of comparable speed as the old ADODB. DB_sessions are faster than filebased sessions and probably easier to setup. (No common shared /tmp dir needed as on sorceforge.net or other larger ISP's with load-balanced servers.) The mysql session table schema is: drop table if exists session; CREATE TABLE session ( sess_id varchar(32) not null default '', sess_data blob not null, sess_date timestamp, PRIMARY KEY (sess_id) ); pgsql accordingly. The new PearDB (and PhpWiki 1.3.4) supports now the following databases: Mysql: mysql Postgres: pqsql FrontBase: fbsql Interbase: ibase Sybase: sybase ODBC: odbc (also for the navision driver) Oracle 8: oci8 Microsoft SQL Server: mssql Mini-SQL: msql LDAP: ldap Informix: ifx Plans: Missing is "flatfile" and Pear support for DBM. Testing should be done for all new drivers and CVS. I only tested DBM and mysql so far. I will be able to test additionally odbc (plain and navision) on Windows and Linux. UserPreferences needs some minor bugfixes with the session and cookie code, which I hope to do this weekend. When UserAuthentication is stable, page based EmailNotification and PagePermissions will be implemented. Then some extensions for PageList, probably something like Pear DB_Pager. (That's why it is in CVS now also. If not we can remove it.) -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
From: Daniel B. <bo...@io...> - 2002-09-12 17:44:01
|
what happens to the session data when the size of blob is exceeded? It think it is 64k in mysql. On Thu, 2002-09-12 at 10:33, Reini Urban wrote: > I added now DB_Session support and > updated Pear DB to version 1.3 into CVS. Should be in tomorrows nightly > snapshot. Todays snapshot has a bug with DB_Session which needed to > large Pear DB update. > > DB_Session needs PEAR DB, ie. DBParams['dbtype'] = 'SQL'. No ADODB yet. > The latest Pear DB is of comparable speed as the old ADODB. > > DB_sessions are faster than filebased sessions and probably easier to > setup. (No common shared /tmp dir needed as on sorceforge.net or other > larger ISP's with load-balanced servers.) > |
From: Reini U. <ru...@x-...> - 2002-09-12 17:50:33
|
Daniel Bondurant schrieb: > what happens to the session data when the size of blob is exceeded? > It think it is 64k in mysql. We store only the $user->_pref array which will be for sure smaller than 64k. > On Thu, 2002-09-12 at 10:33, Reini Urban wrote: > >>I added now DB_Session support and >>updated Pear DB to version 1.3 into CVS. Should be in tomorrows nightly >>snapshot. Todays snapshot has a bug with DB_Session which needed to >>large Pear DB update. >> >>DB_Session needs PEAR DB, ie. DBParams['dbtype'] = 'SQL'. No ADODB yet. >>The latest Pear DB is of comparable speed as the old ADODB. >> >>DB_sessions are faster than filebased sessions and probably easier to >>setup. (No common shared /tmp dir needed as on sorceforge.net or other >>larger ISP's with load-balanced servers.) -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |
From: Roel V. <ro...@ri...> - 2002-09-13 10:02:49
|
Daniel Bondurant wrote: > what happens to the session data when the size of blob is exceeded? > It think it is 64k in mysql. Yes, it is 64k, and the data will be truncated, meaning you will lose a part of your session data. I had to learn the hard way that this is a very nasty bug to track down :) cheers, roel > On Thu, 2002-09-12 at 10:33, Reini Urban wrote: > >>I added now DB_Session support and >>updated Pear DB to version 1.3 into CVS. Should be in tomorrows nightly >>snapshot. Todays snapshot has a bug with DB_Session which needed to >>large Pear DB update. >> >>DB_Session needs PEAR DB, ie. DBParams['dbtype'] = 'SQL'. No ADODB yet. >>The latest Pear DB is of comparable speed as the old ADODB. >> >>DB_sessions are faster than filebased sessions and probably easier to >>setup. (No common shared /tmp dir needed as on sorceforge.net or other >>larger ISP's with load-balanced servers.) >> > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |