summaryrefslogtreecommitdiff
path: root/ext/session/php_session.h
Commit message (Collapse)AuthorAgeFilesLines
* Clean up ext/session errorsMáté Kocsis2020-09-111-1/+1
| | | | Closes GH-6111
* Constify char * arguments of APIstwosee2020-06-081-4/+3
| | | | Closes GH-5676.
* SessionUpdateTimestampHandler class was never implementedAlex Dowad2020-04-271-2/+0
| | | | | | | | | | | | It seems that in 2015, work was being done so that users could add their own custom session handlers. The implementer intended to add a class called SessionUpdateTimestampHandler, but never did so. The variable which was intended to point to its class entry is never initialized. The implementer also coded two methods for this class. Strangely, the method bodies are declared with PHP_METHOD(SessionHandler, ...) rather than PHP(SessionUpdateTimestampHandler, ...). However, these method implementations are not added to the method table of any class or interface. They are just dead code.
* Remove mention of PHP major version in Copyright headersGabriel Caruso2019-09-251-2/+0
| | | | Closes GH-4732.
* Remove usage of HAVE_HASH_EXT and COMPILE_DL_HASH as ext/hash is always ↵Kalle Sommer Nielsen2019-03-201-4/+1
| | | | available (master only)
* Remove year range from copyright noticeZeev Suraski2019-01-301-1/+1
|
* implement same site cookie see https://bugs.php.net/bug.php?id=72230 see ↵Frederik Bosch2018-07-311-0/+1
| | | | https://tools.ietf.org/html/draft-west-first-party-cookies-07 see https://scotthelme.co.uk/csrf-is-dead/
* 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
|
* Move constants into read-only data segmentDmitry Stogov2017-12-141-4/+4
|
* Update copyright headers to 2017Sammy Kaye Powers2017-01-021-1/+1
|
* Merge branch 'pull-request/2261'Joe Watkins2017-01-011-0/+2
|\ | | | | | | | | * pull-request/2261: Add PHPAPI php_session_flush and php_session_destroy
| * Add PHPAPI php_session_flush and php_session_destroydreamszhu2017-01-011-0/+2
| |
* | Add PHPAPI for session class entrydreamszhu2016-12-311-4/+4
|/
* Fix bug #73100 - Improve bug fix. Forbid to set 'user' save handler other ↵Yasuo Ohgaki2016-12-221-1/+2
| | | | than set_save_handler().
* Fix bug #71038 - session_start() returns true even when it failedYasuo Ohgaki2016-11-171-3/+3
| | | | PR #2167
* keep ABIAnatol Belski2016-11-161-1/+1
|
* Refactor and cleanup implementation.Yasuo Ohgaki2016-11-161-0/+1
|
* Revert "Fix Bug #73461"Yasuo Ohgaki2016-11-161-1/+0
| | | | This reverts commit 0383de14678e4c77e11ebf261530d4c1260825a1.
* Fix Bug #73461Yasuo Ohgaki2016-11-161-0/+1
| | | | This patch disables any invalid save handler calls.
* Revert "Revert "Implement RFC Add session_gc() ↵Yasuo Ohgaki2016-09-011-3/+3
| | | | | | https://wiki.php.net/rfc/session-gc"" This reverts commit 355c7e7d1cdc180d368c6214ea7605443fc88c92.
* Revert "Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gc"Yasuo Ohgaki2016-09-011-3/+3
| | | | This reverts commit 1cf179e4150308d8217d9517408ca5e22b5d607f.
* Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gcYasuo Ohgaki2016-08-291-3/+3
|
* Merge RFC: Session ID without hashingYasuo Ohgaki2016-08-121-7/+2
| | | | https://wiki.php.net/rfc/session-id-without-hashing
* Restored signed format specifierDmitry Stogov2016-06-211-3/+3
|
* Added ZEND_ATTRIBUTE_FORMAT to some middind functions.Dmitry Stogov2016-06-211-1/+1
| | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
* Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-031-1/+1
| | | | Also re bug #71575.
* 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
| |
* | fix datatype mismatchesAnatol Belski2015-03-241-5/+5
| |
* | cleanup mod version macros and mod defs, round xAnatol Belski2015-03-231-0/+3
| |
* | Merge branch 'PHP-5.6'Julien Pauli2015-03-161-1/+0
|\ \ | |/ | | | | | | | | | | | | * PHP-5.6: Fix flaws in session module Conflicts: ext/session/session.c
| * Merge branch 'PHP-5.5' into PHP-5.6Julien Pauli2015-03-161-1/+0
| |\ | | | | | | | | | | | | * PHP-5.5: Fix flaws in session module
| | * Fix flaws in session moduleJulien Pauli2015-03-161-1/+0
| | |
| | * Bump yearXinchen Hui2015-01-151-1/+1
| | |
| | * Bump yearXinchen Hui2014-01-031-1/+1
| | |
| * | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | made ZEND_TSRMLS_CACHE_* macros look like function callsAnatol Belski2015-02-161-1/+1
| | | | | | | | | | | | which also comply with the current semantics for such macros
* | | Pass maxlifetime to save handlersYasuo Ohgaki2015-02-121-3/+3
| | |
* | | Cleanup trans sid code. Behavior is unchanged.Yasuo Ohgaki2015-02-021-2/+1
| | | | | | | | | | | | Fixed possible injections. Escape values usually internal safe values.
* | | WIP - test passesYasuo Ohgaki2015-01-221-22/+60
| | |
* | | bump yearXinchen Hui2015-01-151-1/+1
| | |
* | | trailing whitespace removalStanislav Malyshev2015-01-101-1/+1
| | |
* | | almost all the replacements of TSRMLS_* are doneAnatol Belski2014-12-141-1/+1
| | | | | | | | | | | | | | | | | | | | | Some places have to be yet touched as they use different/custom macros namings for the same. Also some places in the code became redundant now, this is the next task. To name some: ext/mysqlnd, sapi/embed, ext/curl and some smaller places here and there.
* | | second shot on removing TSRMLS_*Anatol Belski2014-12-141-8/+8
| | |
* | | first shot remove TSRMLS_* thingsAnatol Belski2014-12-131-12/+12
| | |
* | | ext/iconv, ext/json and ext/session use static tsrmls pointerAnatol Belski2014-10-171-1/+4
| | |
* | | s/PHP 5/PHP 7/Johannes Schlüter2014-09-191-1/+1
| | |
* | | master renames phase 1Anatol Belski2014-08-251-12/+12
| | |
* | | fixes to %pd format usageAnatol Belski2014-08-241-1/+1
| | |