summaryrefslogtreecommitdiff
path: root/ext/session/session.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Strict sessionYasuo Ohgaki2013-08-041-39/+85
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Arpad Ray2013-07-171-2/+5
|\ \ | |/ | | | | | | * PHP-5.4: Fix bug #62129 - rfc1867 crashes php even though turned off
| * Fix bug #62129 - rfc1867 crashes php even though turned offArpad Ray2013-07-171-2/+5
| | | | | | | | Patch by gxd305 at gmail dot com
* | Merge branch 'PHP-5.4' into PHP-5.5Anatol Belski2013-07-161-1/+1
|\ \ | |/ | | | | | | * PHP-5.4: Fixed typo ensuring header str is \0 terminated
| * Fixed typo ensuring header str is \0 terminatedAnatol Belski2013-07-161-1/+1
| | | | | | | | | | This was obviously intended to send an empty header if php_gmtime_r() fails. Currently it could send garbage.
* | Merge branch 'PHP-5.4' into PHP-5.5Anatol Belski2013-07-021-1/+26
|\ \ | |/ | | | | | | | | | | | | * PHP-5.4: Fixed mysql tests parsing phpinfo() Update NEWS Fixed bug #35703: when session_name("123") consist only digits, should warning Fixed bug #49175: mod_files.sh does not support hash bits
| * Fixed bug #35703: when session_name("123") consist only digits, should warningYasuo Ohgaki2013-06-291-1/+26
| |
* | Merge branch 'PHP-5.4' into PHP-5.5Arpad Ray2013-06-271-1/+1
|\ \ | |/ | | | | | | * PHP-5.4: Fix bug #62535 - $_SESSION[$key]["cancel_upload"] doesn't work as documented
| * Fix bug #62535 - $_SESSION[$key]["cancel_upload"] doesn't work as documentedArpad Ray2013-06-271-1/+1
| | | | | | | | | | | | When uploading multiple files, the array in the session where the progress data is stored (and cancel_upload key is set) was overwritten whenever the progress data was updated, so pending uploads would proceed anyway.
* | BC fix for PR 109 merge - create_sid() method in SessionHandlerArpad Ray2013-06-271-8/+45
| | | | | | | | | | | | | | | | | | Creates a new SessionIdInterface and moves create_sid() into it, so existing handlers implementing SessionHandlerInterface don't require create_sid(). SessionHandler still includes the method so the default mod can be called, but now implements both interfaces. Also added several more tests for this feature.
* | Merge PR 109 - Add create_sid to session_set_save_handler and SessionHandlerArpad Ray2013-06-271-11/+18
|\ \ | | | | | | | | | | | | | | | 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-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * 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-11/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Fixed bug #60634 (Segmentation fault when trying to die() in ↵Ilia Alshanetsky2012-03-081-4/+4
| | | | | | | | | | | | SessionHandler::write())
| * | add SessionHandlerInterface for session_set_save_handler() - #60551Arpad Ray2012-01-041-3/+25
| | |
| * | - Year++Felipe Pena2012-01-011-1/+1
| | |
| * | C++ style commentXinchen Hui2011-11-211-1/+1
| | |
| * | Fix hash key length in register/remove_user_shutdown_functionArpad Ray2011-11-111-3/+3
| | |
| * | fix calling user close func when it isn't openArpad Ray2011-11-021-3/+0
| | |
| * | fix zts break in r316688Arpad Ray2011-09-131-4/+4
| | |
| * | Implement object-oriented session handlers (https://wiki.php.net/rfc/session-oo)Arpad Ray2011-09-131-7/+175
| | |
| * | Fixed ZE specific compile warnings (Bug #55629)Dmitry Stogov2011-09-131-2/+2
| | |
| * | Expose session status via new function, session_status (Req #52982)Arpad Ray2011-08-291-0/+18
| | |
| * | fixed bug #55267 - session_regenerate_id fails after header sent even if ↵Hannes Magnusson2011-08-291-1/+1
| | | | | | | | | | | | session.use_cookies = 0
| * | - Added ZEND_MOD_END macro to use in the end of zend_module_dep[]Felipe Pena2011-08-061-1/+1
| | |
| * | - Make usage of new PHP_FE_END macroFelipe Pena2011-07-251-1/+1
| | |
* | | Merge branch 'PHP-5.4' into PHP-5.5Dmitry Stogov2013-06-101-0/+3
|\ \ \ | | |/ | |/| | | | | | | * PHP-5.4: Callback has to be restored in MSHUTDOWN
| * | Callback has to be restored in MSHUTDOWNDmitry Stogov2013-06-101-0/+3
| | |
| * | Happy New YearXinchen Hui2013-01-011-1/+1
| | |
* | | Bug #23955: allow specifiy max age for setcookie()Lars Strojny2013-01-061-0/+4
| | |
* | | Happy New YearXinchen Hui2013-01-011-1/+1
|/ /
* | Merge branch 'PHP-5.3' into PHP-5.4Johannes Schlüter2012-06-221-1/+1
|\ \ | | | | | | | | | | | | * PHP-5.3: Remove extra ;
| * | Remove extra ;Johannes Schlüter2012-06-221-1/+1
| | |
| * | Fixed bug #60634 (Segmentation fault when trying to die() in ↵Ilia Alshanetsky2012-03-081-4/+4
| | | | | | | | | | | | SessionHandler::write())
| * | - Year++Felipe Pena2012-01-011-1/+1
| | |
| * | fixed bug #55267 - session_regenerate_id fails after header sent even if ↵Hannes Magnusson2011-08-291-1/+1
| | | | | | | | | | | | session.use_cookies = 0
| * | - Added ZEND_MOD_END macro to use in the end of zend_module_dep[]Felipe Pena2011-08-061-1/+1
| | |
| * | - Make usage of new PHP_FE_END macroFelipe Pena2011-07-251-1/+1
| | |
| * | - local redeclarationPierre Joye2011-01-231-6/+6
| | |
| * | - Year++Felipe Pena2011-01-011-1/+1
| | |
| * | - Fixed bug #53141 (autoload misbehaves if called from closing session)Felipe Pena2010-11-021-0/+1
| | | | | | | | | | | | | | | patch by: ladislav at marek dot su
| * | Fixed a compiler warningIlia Alshanetsky2010-08-271-2/+1
| | |
| * | - [DOC] MFH: add session.entropy* support to windowsPierre Joye2010-06-081-1/+25
| | |
| * | - silent warningPierre Joye2010-06-021-2/+2
| | |
| * | Fixed handling of session variable serialization on certain prefix ↵Ilia Alshanetsky2010-04-261-1/+1
| | | | | | | | | | | | characters. Reported by Stefan Esser
* | | Fixed bug #60634 (Segmentation fault when trying to die() in ↵Ilia Alshanetsky2012-03-081-4/+4
| | | | | | | | | | | | SessionHandler::write())
* | | add SessionHandlerInterface for session_set_save_handler() - #60551Arpad Ray2012-01-041-4/+25
| | |
* | | - Year++Felipe Pena2012-01-011-1/+1
| | |
* | | C++ style commentXinchen Hui2011-11-211-1/+1
| | |
* | | Fix hash key length in register/remove_user_shutdown_functionArpad Ray2011-11-111-3/+3
| | |