Marco van 't Wout
a2d4af95af
Fix #4607 : Fix loading CHttpSessionHandler when using yiilite on Yii 1.1.32 and PHP 7+
2026-01-08 12:57:53 +03:00
erwin
4ef3b36160
Refactor PHP version check to Yii 1 convention.
2025-12-09 11:13:19 +01:00
erwin
8c5400983e
Fixed code formatting to match Yii 1 coding style
2025-12-04 17:39:27 +01:00
erwin
58e20905d1
Add error suppression to session_set_save_handler() call
...
Maintains consistent behavior with legacy code path by suppressing
"headers already sent" warnings in test environments.
2025-12-03 20:04:14 +01:00
erwin
a27cf8c18f
Move CHttpSessionHandler to separate file for PHP 5.3 compatibility
2025-12-03 19:51:59 +01:00
erwin
5d3ab97192
Fix PHP 8.4 session handler compatibility and add return type hints
2025-12-03 19:32:28 +01:00
erwin
dec708cca3
Fix PHP 8.4 session_set_save_handler() deprecation
2025-12-03 19:11:42 +01:00
Olle Haerstedt
69d826c720
Some more param fixes for array access
2022-08-08 16:08:22 +02:00
Arhell
fad0c5be77
update links
2022-08-07 11:54:16 +03:00
Marco van 't Wout
ecb3bffd37
FIX: apply #[ReturnTypeWillChange] to classes that implement Countable
2022-03-31 15:01:15 +02:00
Marco van 't Wout
0adb66f2a4
FIX: apply #[ReturnTypeWillChange] to classes that implement ArrayAccess
2022-03-31 14:58:29 +02:00
Marco van 't Wout
7de378ec72
FIX: apply #[ReturnTypeWillChange] to classes that implement IteratorAggregate
2022-03-31 14:51:34 +02:00
Marco van 't Wout
7a8d429cd4
Allow setting samesite correctly when calling setCookieParams() ( #4313 )
...
Fixes bug introduced in #4308
2020-09-01 17:28:21 +03:00
Tom Fotherby
566cae7fd9
Fix #4308 : PHP 7.3 compatibility: Add samesite as a session cookie option
2020-08-19 18:16:56 +03:00
Vitaliy
46bf33ace0
Fixes #4236 : Freeze session before changing ini settings to be compatible with PHP 7.2
2019-01-11 07:14:03 -05:00
Anatoly Pashin
e08802ea5c
Fixes #4203 : Fixed CHttpCacheFilter::sendCacheControlHeader PHP 7.2 compatibility
2018-04-27 12:01:21 +03:00
Alexander Makarov
ae11bc4f34
#4168 : improved session freezing ( #4194 )
2018-02-10 00:57:37 +03:00
daniel1302
2ebe9b6513
Fixes #4191 : Fixed multiple PHP 7.2 issues, added a way to exclude classes from autoloader
2018-01-31 03:08:29 +07:00
Alexander Makarov
9a8985ae9d
Minor fixes [skip ci]
2017-04-18 19:39:10 +03:00
Armano
26368deace
Fix spelling in documentation and add missing/invalid documentation [skip ci]
2016-07-19 14:01:14 +03:00
TomoyukiSugita
33af13bec1
Fixes #4034 CHttpSession::getIsStarted() PHP 7 compatibility
2016-05-12 17:58:09 +03:00
Alexander Makarov
45d6a7d51b
Fixes #2376 : CHttpSession::regenerateID() now checks if session is started before regenerating session ID
2014-07-29 23:55:20 +04:00
Alexander Makarov
271e06f651
fixes #2651 : CHttpSession wasn't using GC probability/divisor from php.ini
2013-07-21 17:59:46 +04:00
Alexander Makarov
c9dea60747
Fixes #2148
2013-04-29 02:48:17 +04:00
David Baker
c26e3198dc
Fixed inaccurate information about default location for session savePath
...
Session's save path is set to session.save_path by default. On
some distros, that is set to /tmp, but it isn't always. Updated the
docs to reflect that.
2013-03-04 13:23:48 -07:00
Abdul Malik Ikhsan
6247adaf26
change copyright symbol
2013-01-15 18:38:02 +07:00
Abdul Malik Ikhsan
46c8ef0d9a
update copyright year
...
from 2011 to 2013
2013-01-15 17:28:17 +07:00
Alexander Kochetov
486723805e
else if => elseif
2012-10-03 10:20:14 +04:00
Alexander Makarov
d865a3bab8
Fixes #1057 Removed SVN ids
2012-09-09 22:23:45 +04:00
Carsten Brandt
096b536c6d
updated comment in CHttpSession
...
[ci skip]
2012-08-31 18:09:41 +03:00
tom--
d14469c2f5
New unit test for enhanced $gCProbability s/getters in CHttpSession #486 . Fixed those methods to process corner cases properly. Initial $gCProbability is now double(1.0), was > 1.0 before.
2012-08-29 16:07:29 -04:00
resurtm
3884f21789
Refinements and $gCProbability now can be 0.00000005% not just a 0.001%.
2012-08-25 23:16:49 +06:00
resurtm
e1af079c43
Enh #486 : CHttpSession::$gCProbability and CDbHttpSession::$gCProbability are floats now. Minimal $gCProbability value has been changed to the 0.001%, was 1% before, default value left unchanged (1%).
2012-08-25 17:51:51 +06:00
alexander.makarow
1b484a8d15
(Fixes issue 3042) Fixed the bug that CHttpSession::setCookieMode wasn't setting session.use_only_cookies when 'none' value was used
2011-12-27 00:02:53 +00:00
alexander.makarow
646cbb2b9a
Documented component accessors with @property for significantly better IDE autocomplete
2011-10-25 00:01:09 +00:00
qiang.xue
c1fbf16a72
2011-07-07 01:01:56 +00:00
alexander.makarow
a8f3a422bb
(Fixes issue 2602) Better error handling in CHttpSession::open() when using PHP <5.3.0
2011-07-06 22:35:27 +00:00
qiang.xue
da44a3909e
Added CHttpSession::regenerateID()
2011-04-07 04:25:27 +00:00
qiang.xue
78081c92fc
(Fixes issue 2262)
2011-03-29 12:37:49 +00:00
alexander.makarow
2ab981b454
reverted method chaining support
2011-02-24 16:42:44 +00:00
alexander.makarow
75041e8620
Chained calls are now possible for most framework class setters and methods not returning a value
2011-02-23 20:20:28 +00:00
qiang.xue
4be0af6917
changed copyright year.
2011-01-01 19:31:13 +00:00
mdomba
15e94ba6b3
Added documentations that goes to the method summary table...
2010-12-29 12:30:50 +00:00
mdomba
72b974560b
Updated PHPDoc @param parameter names
2010-09-23 13:28:52 +00:00
qiang.xue
b20ac4deda
* (Fixes issue 1140) Added CHttpSession::get().
2010-04-20 18:47:46 +00:00
qiang.xue
eb54ba7407
modified copyright info.
2010-01-07 21:02:00 +00:00
qiang.xue
783bf54883
merge from 1.0
2009-10-16 15:03:59 +00:00
qiang.xue
c7a996249b
merge from 1.0
2009-05-06 03:36:09 +00:00
qiang.xue
a6be33eca5
merge from 1.0.
2009-01-24 19:06:11 +00:00
qiang.xue
20bf28469f
merge from 1.0.
2008-12-30 23:14:31 +00:00