Commit graph

27 commits

Author SHA1 Message Date
Kijin Sung
f91bd86fb1 Consolidate a few timers into an array in the Debug class 2025-08-20 00:25:20 +09:00
Kijin Sung
f4e5a0f21c Fix type error when referer is null #2493 2025-02-17 22:05:24 +09:00
Kijin Sung
b2051f9934 Remove condition for PHP < 7.3 2024-11-18 23:59:02 +09:00
Kijin Sung
c57dbf4d73 Fix Session::getValidityInfo() sometimes returning a non-object 2024-03-19 22:17:32 +09:00
Kijin Sung
f8f929137c Fix session.gc_maxlifetime being set to a lower value than specified in php.ini 2023-12-04 17:31:23 +09:00
Kijin Sung
9d5dff5371 Fix incorrect rx_login_status cookie immediately after autologin 2023-10-25 20:29:27 +09:00
Kijin Sung
8d2b7101f4 Use Cookie class to control session and member-related cookies, too 2023-10-24 23:09:50 +09:00
Kijin Sung
adb9942bd6 Don't set timezone in session until somebody calls setTimezone(), allowing fallback to system default timezone 2023-10-08 01:30:41 +09:00
Kijin Sung
666e7beffc Clean up missing or inconsistent type declarations in Session class 2023-10-03 14:17:25 +09:00
Kijin Sung
99c905a6f4 Fix warning when session is used on CLI 2023-09-04 15:19:12 +09:00
Kijin Sung
a1ce3ccaf2 Fix missing array key in session 2023-08-29 23:55:40 +09:00
Kijin Sung
4af7354bf0 Add options to control autologin cookie lifetime and refresh function 2023-08-29 23:42:01 +09:00
Kijin Sung
87300c9944 Resend autologin key periodically to maintain useful lifetime 2023-08-29 23:21:20 +09:00
Kijin Sung
7efd6c4b18 Remove unnecessary code in Session class 2023-07-24 02:57:39 +09:00
Kijin Sung
899f65981d Destroy conflicting cookies before, not after, setting own cookie 2023-07-24 02:57:08 +09:00
Kijin Sung
8cf68ec9f1 Resend autologin key if the client has not received it at first request 2023-07-24 02:55:30 +09:00
Kijin Sung
c41229eb17 Separate variables for backward compatibility into their own lines, to prevent confusion 2023-07-23 20:49:38 +09:00
Kijin Sung
a07b8fef58 Remove unnecessary setting of is_webview before session create 2023-07-23 20:45:34 +09:00
Kijin Sung
a2932ee8c8 Add admin setting to control the httpOnly attribute 2023-07-22 20:17:23 +09:00
Kijin Sung
56b37b7cbc Remove session keys from unit tests 2023-07-22 20:04:54 +09:00
Kijin Sung
60a3edc994 Remove session keys, and always set httpOnly 2023-07-22 19:53:51 +09:00
Kijin Sung
80fa953eb1 Fix undefined property in member info 2023-06-20 01:29:44 +09:00
Kijin Sung
73e7e17347 Fix warnings in PHP 8.2 2023-06-16 16:23:34 +09:00
Kijin Sung
180ed429cf Fix deprecation error in PHP 8.x when path or domain is null in setcookie() 2023-06-16 15:34:48 +09:00
Kijin Sung
4889852622 Use session.lifetime value if set, otherwise use default of 8 hours 2023-05-21 19:29:32 +09:00
Kijin Sung
a9f72a5cd2 Remove trailing whitespace 2023-01-17 20:57:44 +09:00
Kijin Sung
0029d1a1ec Rename all common/framework source files to be case-sensitive 2022-12-26 16:13:09 +09:00
Renamed from common/framework/session.php (Browse further)