summaryrefslogtreecommitdiff
path: root/session
AgeCommit message (Collapse)AuthorFilesLines
2023-03-25Remove useless variables and commentsDamien Regad1-14/+4
2023-03-25WhitespaceDamien Regad1-27/+12
2023-03-25PHPDocDamien Regad1-98/+206
2023-03-25Move MySQL BINARY to expression right-hand sideDamien Regad1-5/+6
Having it on the left-hand side prevented usage of the index, so a full table scan was performed with significant performance impact when a large number of sessions are stored in the table. Fixes #941
2023-03-25Fix inconsistent DB provider check in ADODB_SessionDamien Regad1-10/+43
Introduce a new class property to store the database provider, populated when opening the connection, and handling the PDO drivers specificities. New isConnectionMysql() and isConnectionPostgres() methods are replacing tests against $conn->dataProvider or ADODB_Session::driver(), ensuring a consistent check of the database type. Fixes #943
2021-08-17Redo Merge branch 'hotfix/5.21' Standardized file headersDamien Regad17-265/+358
Try to do it right this time... # Conflicts: # adodb-memcache.lib.inc.php Fixes #751
2021-08-17Reset version to avoid merge conflictsDamien Regad14-14/+14
Fixes #751
2021-08-17Revert changes since Standardized file headers mergeDamien Regad17-358/+265
The conflicts resolution applied when merging the Standardized file headers (commit e9dcce3df24912ad869d0193f0b419f2309101fc) was seriously messed up, actually overwriting a number of changes in the master branch. Rather than trying to go and fix things one by one which has a high risk of messing things further, it's easier to redo the merge from a clean slate, so this commit reverts the following: - "Merge branch 'hotfix/5.21' Standardized file headers", e9dcce3df24912ad869d0193f0b419f2309101fc - "Merge tag 'v5.21.1'", 5f437df3104159d5d659f60e31bef8d33c34995f - "Reset version to 5.22.0-dev" af9234a525c3255af051a330164486d73be4c63a - "Fix incorrect resolution of merge conflicts" a6733f61b0165b366c8d2c70d9af82edc3881951. - "Fix syntax error in toexport.inc.php" 20b01e83cb61b6b2460f64c7d1277c5f4cc28574. Fixes #751
2021-08-15Merge branch 'hotfix/5.21' Standardized file headersDamien Regad17-265/+358
# Conflicts: # adodb-active-record.inc.php # adodb-active-recordx.inc.php # adodb-csvlib.inc.php # adodb-datadict.inc.php # adodb-error.inc.php # adodb-errorhandler.inc.php # adodb-errorpear.inc.php # adodb-exceptions.inc.php # adodb-iterator.inc.php # adodb-loadbalancer.inc.php # adodb-memcache.lib.inc.php # adodb-pager.inc.php # adodb-pear.inc.php # adodb-perf.inc.php # adodb-php4.inc.php # adodb-time.inc.php # adodb.inc.php # datadict/datadict-access.inc.php # datadict/datadict-db2.inc.php # datadict/datadict-firebird.inc.php # datadict/datadict-generic.inc.php # datadict/datadict-ibase.inc.php # datadict/datadict-informix.inc.php # datadict/datadict-mssql.inc.php # datadict/datadict-mssqlnative.inc.php # datadict/datadict-mysql.inc.php # datadict/datadict-oci8.inc.php # datadict/datadict-postgres.inc.php # datadict/datadict-sapdb.inc.php # datadict/datadict-sqlite.inc.php # datadict/datadict-sybase.inc.php # drivers/adodb-access.inc.php # drivers/adodb-ado.inc.php # drivers/adodb-ado5.inc.php # drivers/adodb-ado_access.inc.php # drivers/adodb-ado_mssql.inc.php # drivers/adodb-borland_ibase.inc.php # drivers/adodb-csv.inc.php # drivers/adodb-db2.inc.php # drivers/adodb-db2oci.inc.php # drivers/adodb-db2ora.inc.php # drivers/adodb-fbsql.inc.php # drivers/adodb-firebird.inc.php # drivers/adodb-ibase.inc.php # drivers/adodb-informix.inc.php # drivers/adodb-informix72.inc.php # drivers/adodb-ldap.inc.php # drivers/adodb-mssql.inc.php # drivers/adodb-mssqlnative.inc.php # drivers/adodb-mssqlpo.inc.php # drivers/adodb-mysql.inc.php # drivers/adodb-mysqli.inc.php # drivers/adodb-mysqlpo.inc.php # drivers/adodb-mysqlt.inc.php # drivers/adodb-netezza.inc.php # drivers/adodb-oci8.inc.php # drivers/adodb-oci805.inc.php # drivers/adodb-oci8po.inc.php # drivers/adodb-oci8quercus.inc.php # drivers/adodb-odbc.inc.php # drivers/adodb-odbc_db2.inc.php # drivers/adodb-odbc_mssql.inc.php # drivers/adodb-odbc_oracle.inc.php # drivers/adodb-odbtp.inc.php # drivers/adodb-odbtp_unicode.inc.php # drivers/adodb-oracle.inc.php # drivers/adodb-pdo.inc.php # drivers/adodb-pdo_dblib.inc.php # drivers/adodb-pdo_firebird.inc.php # drivers/adodb-pdo_mssql.inc.php # drivers/adodb-pdo_mysql.inc.php # drivers/adodb-pdo_oci.inc.php # drivers/adodb-pdo_pgsql.inc.php # drivers/adodb-pdo_sqlite.inc.php # drivers/adodb-postgres.inc.php # drivers/adodb-postgres64.inc.php # drivers/adodb-postgres7.inc.php # drivers/adodb-postgres8.inc.php # drivers/adodb-postgres9.inc.php # drivers/adodb-proxy.inc.php # drivers/adodb-sapdb.inc.php # drivers/adodb-sqlanywhere.inc.php # drivers/adodb-sqlite3.inc.php # drivers/adodb-sqlitepo.inc.php # drivers/adodb-sybase.inc.php # drivers/adodb-sybase_ase.inc.php # drivers/adodb-text.inc.php # drivers/adodb-vfp.inc.php # pear/Auth/Container/ADOdb.php # perf/perf-db2.inc.php # perf/perf-informix.inc.php # perf/perf-mssql.inc.php # perf/perf-mssqlnative.inc.php # perf/perf-mysql.inc.php # perf/perf-oci8.inc.php # perf/perf-postgres.inc.php # pivottable.inc.php # rsfilter.inc.php # server.php # session/adodb-compress-bzip2.php # session/adodb-compress-gzip.php # session/adodb-cryptsession.php # session/adodb-cryptsession2.php # session/adodb-encrypt-mcrypt.php # session/adodb-encrypt-md5.php # session/adodb-encrypt-secret.php # session/adodb-session-clob.php # session/adodb-session-clob2.php # session/adodb-session.php # session/adodb-session2.php # session/old/adodb-cryptsession.php # session/old/adodb-session-clob.php # session/old/adodb-session.php # tests/benchmark.php # tests/client.php # tests/test-datadict.php # tests/test-php5.php # tests/test.php # tests/test3.php # tests/test4.php # tests/test5.php # tests/testcache.php # tests/testdatabases.inc.php # tests/testmssql.php # tests/testoci8.php # tests/testoci8cursor.php # tests/testpaging.php # tests/testpear.php # toexport.inc.php # tohtml.inc.php
2021-08-15Session XML schema: formatting, add field commentspeterdd1-17/+13
Fixes #732 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2021-08-14Standard file header: /sessionDamien Regad17-265/+358
2021-03-08Bump version to 5.21.1-devDamien Regad14-14/+14
2021-02-27Bump version to 5.21.0v5.21.0Damien Regad14-14/+14
2021-02-02Bump version to 5.21.0-rc.1v5.21.0-rc.1Damien Regad14-14/+14
2020-12-26Bump version to 5.22.0-devDamien Regad14-14/+14
2020-12-20Bump version to 5.21.0-beta.1v5.21.0-beta.1Damien Regad14-14/+14
2020-12-19adodb.org is now served over SSLDamien Regad3-3/+3
Change web site references from http://adodb.org to https.
2020-12-06Removed references to phplens.com, see #564Mark Newnham3-7/+7
2020-01-12Fix descr tag in session schema XML (#595)peterdd2-2/+2
2019-11-12Codespell assisted typo cleaningJean-Michel Vourgère6-12/+12
2019-04-11Merge branch 'hotfix/5.20'Damien Regad2-7/+0
2019-04-11Remove unnecessary srand() callsLucian Sirbu2-7/+0
srand() should not be called manually, unless one has a better way to initialise the already-initialised random seed. The way the current srand() call is made is buggy, and will lead to duplicate random seeds if called often enough. Because the current call will lose the timestamp part, and will only use the first 6 chars from the current microsecond, but the system might not have a high-enough timer resolution, so the actual pool of random seeds gets even smaller. Fixes #532 Signed-off-by: Damien Regad <dregad@mantisbt.org>
2019-01-11Merge branch 'hotfix/5.20'Damien Regad5-5/+0
2019-01-11Remove session_module_name('user') callsMatt Simpson5-5/+0
These calls throw an error on PHP >= 7.2 "session_module_name(): Cannot set 'user' save handler by ini_set() or session_module_name()". They were previously silently ignored, but as per PHP documentation [1], since PHP 7.2.0 it is explicitly forbidden to set the module name to "user" so this commit removes the function calls from session-related files. Fixes #449 [1] http://php.net/session_module_name Improved commit message. Signed-off-by: Damien Regad <dregad@mantisbt.org>
2019-01-06Bump version to 5.20.14v5.20.14Damien Regad14-14/+14
2018-08-06Merge branch 'hotfix/5.20' (v5.20.13)Damien Regad3-3/+3
# Conflicts: # adodb-time.inc.php # docs/changelog.md # drivers/adodb-mssql.inc.php # drivers/adodb-mssqlnative.inc.php # drivers/adodb-oci8po.inc.php
2018-08-06Reset version to avoid merge conflictsDamien Regad14-14/+14
2018-08-06Bump version to 5.20.13v5.20.13Damien Regad14-14/+14
2018-08-06Standardize "latest version" commentsDamien Regad3-3/+3
2018-08-06Fix 404 errors following peterdd's reviewDamien Regad3-3/+3
2018-08-06Fix or remove references to php.weblogs.com (#443)Damien Regad3-3/+3
2018-08-05PHP7.2: string parameters for `assert` are deprecatedNicolas Dermine2-8/+8
in favor of booleans see http://php.net/manual/en/migration72.deprecated.php#migration72.deprecated.assert-string-arg
2018-07-23Junk character in change file see #395Mark Newnham1-1/+1
The file for commit had an extended character introduced, clean up before pull
2018-03-30Bump version to 5.20.12v5.20.12Damien Regad14-14/+14
2018-03-30Bump version to 5.20.11v5.20.11Damien Regad14-14/+14
2018-03-08Bump version to 5.20.10v5.20.10Damien Regad14-14/+14
2018-02-18Fix syntaxRyan Bonham1-5/+4
2018-02-18Initial attempt at PDO supportRyan Bonham1-15/+31
2016-12-21Bump version to 5.20.9v5.20.9Damien Regad14-14/+14
2016-12-17Bump version to 5.20.8v5.20.8Damien Regad14-14/+14
2016-09-20Bump version to 5.20.7v5.20.7Damien Regad14-14/+14
2016-09-20Update changelogDamien Regad14-14/+14
2016-08-31Bump version to 5.20.6v5.20.6Damien Regad14-14/+14
2016-08-18Driver defaults to mysql, which is no longer validMark Newnham1-1/+1
If a driver name is not supplied, the default driver name 'mysql' is used. This driver has been superseded by 'mysqli'. The code has been changed to reflect this. See #264
2016-08-10Bump version to 5.20.5v5.20.5Damien Regad14-14/+14
2016-03-30Bump version to 5.20.4Damien Regad14-14/+14
2016-01-08Adding the httponly flagFalk Huber2-4/+4
2016-01-02Update version 5.21.0-dev release year to 2016Damien Regad14-14/+14
2016-01-01Bump version to 5.20.3v5.20.3Damien Regad14-14/+14
2015-12-27Update version to avoid merge conflictsDamien Regad14-14/+14