dreamszhu
f7f32ba422
Add PHPAPI for session class entry
2016-12-31 18:03:58 +08:00
Yasuo Ohgaki
a93a51c3bf
Fix bug #73100 - Improve bug fix. Forbid to set 'user' save handler other than set_save_handler().
2016-12-22 16:04:28 +09:00
Yasuo Ohgaki
7f196e321f
Fix bug #71038 - session_start() returns true even when it failed
...
PR #2167
2016-11-17 11:09:07 +09:00
Anatol Belski
5eeec01bae
keep ABI
2016-11-16 11:21:32 +01:00
Yasuo Ohgaki
3d6e922367
Refactor and cleanup implementation.
2016-11-16 05:08:29 +00:00
Yasuo Ohgaki
7b29c3fba6
Revert "Fix Bug #73461 "
...
This reverts commit 0383de1467
.
2016-11-16 05:08:29 +00:00
Yasuo Ohgaki
6230c2bad0
Fix Bug #73461
...
This patch disables any invalid save handler calls.
2016-11-16 05:08:28 +00:00
Yasuo Ohgaki
a4a2f66e75
Revert "Revert "Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gc ""
...
This reverts commit 355c7e7d1c
.
2016-09-01 10:12:26 +09:00
Yasuo Ohgaki
355c7e7d1c
Revert "Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gc "
...
This reverts commit 1cf179e415
.
2016-09-01 05:54:55 +09:00
Yasuo Ohgaki
1cf179e415
Implement RFC Add session_gc() https://wiki.php.net/rfc/session-gc
2016-08-29 05:57:37 +09:00
Yasuo Ohgaki
3467526a65
Merge RFC: Session ID without hashing
...
https://wiki.php.net/rfc/session-id-without-hashing
2016-08-12 12:31:02 +09:00
Dmitry Stogov
ccf4ae95bd
Restored signed format specifier
2016-06-21 20:12:04 +03:00
Dmitry Stogov
1616038698
Added ZEND_ATTRIBUTE_FORMAT to some middind functions.
...
"%p" replaced by ZEND_LONG_FMT to avoid compilation warnings.
Fixed most incorrect use cases of format specifiers.
2016-06-21 16:00:37 +03:00
Nikita Popov
1ac152938c
Move semicolon into TSRMLS_CACHE_EXTERN/DEFINE
...
Also re bug #71575 .
2016-03-03 16:50:01 +01:00
Lior Kaplan
ed35de784f
Merge branch 'PHP-5.6' into PHP-7.0
...
* PHP-5.6:
Happy new year (Update copyright to 2016)
2016-01-01 19:48:25 +02:00
Lior Kaplan
49493a2dcf
Happy new year (Update copyright to 2016)
2016-01-01 19:21:47 +02:00
Anatol Belski
3066851dab
fix datatype mismatches
2015-03-24 22:02:29 +01:00
Anatol Belski
663074b6b1
cleanup mod version macros and mod defs, round x
2015-03-23 21:30:22 +01:00
Julien Pauli
4d3a3811a9
Merge branch 'PHP-5.6'
...
* PHP-5.6:
Fix flaws in session module
Conflicts:
ext/session/session.c
2015-03-16 16:11:02 +01:00
Julien Pauli
2a50877428
Merge branch 'PHP-5.5' into PHP-5.6
...
* PHP-5.5:
Fix flaws in session module
2015-03-16 16:01:12 +01:00
Julien Pauli
4dba99c226
Fix flaws in session module
2015-03-16 16:00:46 +01:00
Anatol Belski
af3ca74501
made ZEND_TSRMLS_CACHE_* macros look like function calls
...
which also comply with the current semantics for such macros
2015-02-16 17:19:32 +01:00
Yasuo Ohgaki
741b5952c6
Pass maxlifetime to save handlers
2015-02-12 13:07:27 +09:00
Yasuo Ohgaki
f248df9003
Cleanup trans sid code. Behavior is unchanged.
...
Fixed possible injections. Escape values usually internal safe values.
2015-02-02 17:06:16 +09:00
Yasuo Ohgaki
e6c8640a2a
WIP - test passes
2015-01-22 13:34:58 +09:00
Xinchen Hui
fc33f52d8c
bump year
2015-01-15 23:27:30 +08:00
Xinchen Hui
0579e8278d
bump year
2015-01-15 23:26:37 +08:00
Xinchen Hui
73c1be2653
Bump year
2015-01-15 23:26:03 +08:00
Stanislav Malyshev
b7a7b1a624
trailing whitespace removal
2015-01-10 15:07:38 -08:00
Anatol Belski
7b6ed8db2f
almost all the replacements of TSRMLS_* are done
...
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.
2014-12-14 14:22:42 +01:00
Anatol Belski
e112f6a04e
second shot on removing TSRMLS_*
2014-12-14 14:07:59 +01:00
Anatol Belski
bdeb220f48
first shot remove TSRMLS_* things
2014-12-13 23:06:14 +01:00
Anatol Belski
fea10f6a5e
ext/iconv, ext/json and ext/session use static tsrmls pointer
2014-10-17 14:16:40 +02:00
Johannes Schlüter
d0cb715373
s/PHP 5/PHP 7/
2014-09-19 18:33:14 +02:00
Anatol Belski
c3e3c98ec6
master renames phase 1
2014-08-25 19:24:55 +02:00
Anatol Belski
70de6180d5
fixes to %pd format usage
2014-08-24 02:35:34 +02:00
Anatol Belski
48e6adeee2
ported ext/session
2014-08-19 14:18:24 +02:00
Xinchen Hui
8d87e3b841
Refactoring wddx (incompleted, is there any one use it? )
2014-05-11 22:04:45 +08:00
Xinchen Hui
d8651fbe1c
Make they are in the same style of Z_ISREF
2014-05-03 16:08:58 +08:00
Dmitry Stogov
6bfedfd22e
Fixed unserialize()
2014-04-10 18:08:11 +04:00
Dmitry Stogov
3d17219cd8
Refactored zend_hash_* iteration API zend_hash_fove_forward_ex(ht, pos) and family require second argument to be real pointer.
...
&(ht)->nInternalPointer should be passed instead of NULL.
zend_hash_update_current_key() may work only with internal pointer.
2014-04-07 23:14:17 +04:00
Xinchen Hui
5c1595ca8e
Refactor session (incompleted)
2014-03-29 17:39:26 +08:00
Xinchen Hui
3647fc6fcc
Refactor session (incompleted)
2014-03-28 18:46:25 +08:00
Xinchen Hui
c9bca5039b
Refactor session (incompleted)
2014-03-26 23:23:54 +08:00
Xinchen Hui
c081ce628f
Bump year
2014-01-03 11:08:10 +08:00
Xinchen Hui
47c9027772
Bump year
2014-01-03 11:06:16 +08:00
Yasuo Ohgaki
f2b5725115
Remove compile warning of commit 554021d21e
2013-08-10 14:35:30 +09:00
Yasuo Ohgaki
554021d21e
Implemented Bug #17860 Suggestion: auto detect whether session changed
2013-08-10 13:56:32 +09:00
Yasuo Ohgaki
25e8fcc88f
Strict session
2013-08-04 16:36:45 -07:00
Veres Lajos
4749457a49
HASH_KEY_NON_EXISTANT fix
2013-07-21 20:09:53 -07:00