summaryrefslogtreecommitdiff
path: root/ext/session/mod_user_class.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove unused Git attributes identPeter Kokot2018-07-251-2/+0
| | | | | | | | | | | | | | | The $Id$ keywords were used in Subversion where they can be substituted with filename, last revision number change, last changed date, and last user who changed it. In Git this functionality is different and can be done with Git attribute ident. These need to be defined manually for each file in the .gitattributes file and are afterwards replaced with 40-character hexadecimal blob object name which is based only on the particular file contents. This patch simplifies handling of $Id$ keywords by removing them since they are not used anymore.
* year++Xinchen Hui2018-01-021-1/+1
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gcYasuo Ohgaki2016-08-291-2/+5
|
* Merge branch 'PHP-5.6' into PHP-7.0Yasuo Ohgaki2016-01-151-2/+25
|\ | | | | | | | | * PHP-5.6: Fixed bug #69111 (Crash in SessionHandler::read()). Made session save handler abuse much harder than before.
| * Fixed bug #69111 (Crash in SessionHandler::read()).Yasuo Ohgaki2016-01-151-3/+24
| | | | | | | | Made session save handler abuse much harder than before.
* | Merge branch 'PHP-5.6' into PHP-7.0Lior Kaplan2016-01-011-1/+1
|\ \ | |/ | | | | | | * PHP-5.6: Happy new year (Update copyright to 2016)
| * Happy new year (Update copyright to 2016)Lior Kaplan2016-01-011-1/+1
| |
| * bump yearXinchen Hui2015-01-151-1/+1
| |
* | RETURN_FALSEXinchen Hui2015-09-181-2/+1
| |
* | Reverted ad4533fdbabcc3e545277e30023b2fdce16297a0Anatol Belski2015-07-211-1/+1
| | | | | | | | | | The E_ERROR to E_RECOVERABLE_ERROR should be readded with the proper tests.
* | Change E_ERROR and some E_WARNING to E_RECOVERABLE_ERROR.Yasuo Ohgaki2015-07-211-1/+1
| |
* | Pass maxlifetime to save handlersYasuo Ohgaki2015-02-121-3/+3
| |
* | WIP - test passesYasuo Ohgaki2015-01-221-0/+34
| |
* | bump yearXinchen Hui2015-01-151-1/+1
| |
* | trailing whitespace removalStanislav Malyshev2015-01-101-5/+5
| |
* | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-14/+14
| |
* | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| |
* | Merge branch 'PHP-5.6'Adam Harvey2014-09-081-0/+2
|\ \ | |/ | | | | | | | | | | * PHP-5.6: Fix bug #67972 (SessionHandler Invalid memory read create_sid()). Update LSAPI to 6.7, added support for 'filter_input'. Fixed a crash in CLI mode. 5.5.18 now
| * Merge branch 'PHP-5.5' into PHP-5.6Adam Harvey2014-09-081-0/+2
| |\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * PHP-5.5: Fix bug #67972 (SessionHandler Invalid memory read create_sid()). Update LSAPI to 6.7, added support for 'filter_input'. Fixed a crash in CLI mode. 5.5.18 now Conflicts: configure.in main/php_version.h
| | * Fix bug #67972 (SessionHandler Invalid memory read create_sid()).Adam Harvey2014-09-081-0/+2
| | | | | | | | | | | | | | | SessionHandler::create_sid() didn't check if PS(default_mod) was initialised before attempting to call its create_sid() handler.
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
| | * Merge PR 109 - Add create_sid to session_set_save_handler and SessionHandlerArpad Ray2013-06-271-0/+16
| | |\ | | | | | | | | | | | | | | | | | | | | Allows user session handlers to create session IDs by adding an optional 7th argument to session_set_save_handler() and a create_sid() method to SessionHandler.
| | | * Tests, fixes and optimisationsLeigh2012-06-261-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Amended existing tests to cater for new functionality. * Implemented fixes and optimisations recommended by NikiC * Added create_sid to the registered interface. This was breaking tests. It also now breaks BC for people implementing the interface directly instead of extending the class.
| | | * Add create_sid to session_set_save_handler and SessionHandlerLeigh2012-06-151-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A lot of code already existed to allow a custom create_sid handler, but lacked a specific implementation. Therefore I have added a 7th (optional) argument session_set_save_handler, to allow a user function to be supplied for session id generation. If a create_sid function is not supplied, the default function is called in its absence to preserve backwards compatibility. Likewise create_sid only added to SessionHandler class, and not the interface to maintain backwards compatibility. If the result is not overridden, the default is called.
| | | * fix return values of inherited session handler to match user handlers - #60640Arpad Ray2012-01-041-5/+5
| | | |
| | | * - Year++Felipe Pena2012-01-011-1/+1
| | | |
| | | * fix default session handler error messageArpad Ray2011-09-141-1/+1
| | | |
| | | * Fix bug #55688 (Crash when calling SessionHandler::gc())Xinchen Hui2011-09-141-1/+1
| | | | | | | | | | | | | | | | | | | | Need arpad to review this change
| | | * Implement object-oriented session handlers (https://wiki.php.net/rfc/session-oo)Arpad Ray2011-09-131-0/+144
| | |
* | | first show to make 's' work with size_tAnatol Belski2014-08-271-1/+1
| | |
* | | master renames phase 1Anatol Belski2014-08-251-2/+2
| | |
* | | ported ext/sessionAnatol Belski2014-08-191-2/+2
| | |
* | | Refactor session (incompleted)Xinchen Hui2014-03-281-21/+15
| | |
* | | Refactor session (incompleted)Xinchen Hui2014-03-261-3/+5
|/ /
* | Bump yearXinchen Hui2014-01-031-1/+1
| |
* | Improved empty string handling. Now ZE uses an interned string instead of ↵Dmitry Stogov2013-12-261-1/+1
| | | | | | | | allocation new empty string each time. (Some extensions might need to be fixed using str_efree() instead of efree() to support interned strings).
* | Tests, fixes and optimisationsLeigh2013-06-271-4/+4
| | | | | | | | | | | | | | | | * Amended existing tests to cater for new functionality. * Implemented fixes and optimisations recommended by NikiC * Added create_sid to the registered interface. This was breaking tests. It also now breaks BC for people implementing the interface directly instead of extending the class.
* | Add create_sid to session_set_save_handler and SessionHandlerLeigh2013-06-271-0/+16
|/ | | | | | | | | | | | | | | | A lot of code already existed to allow a custom create_sid handler, but lacked a specific implementation. Therefore I have added a 7th (optional) argument session_set_save_handler, to allow a user function to be supplied for session id generation. If a create_sid function is not supplied, the default function is called in its absence to preserve backwards compatibility. Likewise create_sid only added to SessionHandler class, and not the interface to maintain backwards compatibility. If the result is not overridden, the default is called.
* Happy New YearXinchen Hui2013-01-011-1/+1
|
* Fix #63379 - Don't reset mod_user_is_open in destroyArpad Ray2012-12-131-1/+0
| | | | The parent handler is still open so the reset here was in error.
* fix return values of inherited session handler to match user handlers - #60640Arpad Ray2012-01-041-5/+5
|
* - Year++Felipe Pena2012-01-011-1/+1
|
* fix default session handler error messageArpad Ray2011-09-141-1/+1
|
* Fix bug #55688 (Crash when calling SessionHandler::gc())Xinchen Hui2011-09-141-1/+1
| | | | | Need arpad to review this change
* Implement object-oriented session handlers (https://wiki.php.net/rfc/session-oo)Arpad Ray2011-09-131-0/+144