45 Commits

Author SHA1 Message Date
Taylor Otwell
939b0ce9ba remove session key 2022-02-04 09:34:38 -06:00
Anjorin Damilare
8819ee7097
[9.x]: remove redundant argument null since default parameter is null (#5791) 2022-02-02 08:41:54 -06:00
Taylor Otwell
d43dcb1c54
document json session serialization (#5787) 2022-02-01 11:42:34 -06:00
Hiren Keraliya
d3efbaab58
[8.x] Fixed grammar mistake (#5611)
* Grammar mistakes

* Update session.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2021-05-17 08:15:26 -05:00
Taylor Otwell
c10489131e fix formatting 2020-05-18 10:47:20 -05:00
Taylor Otwell
2a2522d882 fix wording 2020-03-29 10:38:33 -05:00
Mathieu TUDISCO
f93f4ad8bf
Fix session config changes (#5261)
* Fix session config changes

* Update session.php

Co-authored-by: Taylor Otwell <taylor@laravel.com>
2020-03-13 14:53:56 -05:00
Dries Vints
b1f35786eb
Merge branch 'master' into develop 2020-01-14 17:52:04 +01:00
Aimeos
f44f065a2b
Use file session driver again 2020-01-08 12:44:53 +01:00
Taylor Otwell
f589a7e897 Merge branch 'master' into develop 2019-12-18 12:24:10 -06:00
Taylor Otwell
dd93aca597 Merge branch 'master' of github.com:laravel/laravel 2019-12-13 22:43:22 -06:00
Taylor Otwell
f48e2d500c change some default settings 2019-12-13 22:42:46 -06:00
Bert Heyman
136085bfd8 Add "none" to supported same site options in session config (#5174) 2019-12-13 08:18:09 -06:00
Graham Campbell
2913a55d87 [7.x] Switch to Symfony 5 (#5157)
* Update exception handler

* Explictly specify 'lax' same site config

* Use the null secure option for session cookies
2019-11-25 08:46:29 -06:00
Taylor Otwell
f795055577 tweak wording 2019-01-10 15:21:07 -06:00
Taylor Otwell
1be5e29753 add dynamo to stubs 2019-01-10 15:18:58 -06:00
Taylor Otwell
361a6b71da use str class 2018-09-28 15:55:56 -05:00
Danijel K
b9ac4417ee
corrected bad copy paste 2018-08-25 18:45:33 +02:00
Danijel K
375b7c6a43
Extract core 2 session configurations to environment
In the spirit of JMac & LaravelShift I've extracted 2 session variables to the environment file. Not 'just because' but rather that one is able to set SESSION_DRIVER to redis, but unable to set a connection without touching the core session config file.
2018-08-25 18:44:30 +02:00
Caleb Porzio
084f100045 Load config.session.lifetime from env file 2017-10-04 09:52:03 -04:00
Taylor Otwell
df5b100521 formatting 2017-06-29 13:36:21 -05:00
Yitzchok Willroth
28719679b7 🔧 Slugify new session.cookie to comply with RFC 6265. 2017-06-29 13:42:31 -04:00
Yitzchok Willroth
a7f2c060b2 🔧 🔧 Reduce discoverability of session cookie name.
Derives session.cookie from SESSION_COOKIE, falling back to (snake_cased) APP_NAME . '_session', falling back to 'laravel_session' (current) in order to make it less discoverable, thereby (slightly) reducing threat vector.
2017-06-29 12:12:19 -04:00
Taylor Otwell
864a82918e fix comment 2017-03-06 08:50:01 -06:00
Fernando Henrique Bandeira
a15f3ca8a9 Add Same-site to config 2017-03-06 08:56:41 -03:00
Jason McCreary
41b0560375 Environment configuration for HTTPS only cookie 2016-09-01 21:22:34 -04:00
Taylor Otwell
d72e3f3af5 fix conflicts 2016-07-09 11:28:21 -05:00
Jean Ragouin
7e4c6e84df Added session domain env configuration
Session domain value available with env configuration
https://github.com/laravel/laravel/pull/3806
2016-06-22 23:10:07 +08:00
Taylor Otwell
a97b9e0c7c fix comment 2016-05-04 09:31:54 -05:00
Tom Castleman
d68d4dc9cd adds configuration for session cache store 2016-05-02 17:27:52 +01:00
Taylor Otwell
e52b1f71d5 fix wording 2016-03-21 09:13:22 -05:00
mzaalan
9d14fe2d7e Set HttpOnly flag 2016-03-21 14:12:38 +02:00
Jimmy Puckett
4ee6523dfa Using the path parameter in the path method. 2015-05-28 15:31:26 -04:00
Taylor Otwell
f424b87a63 PSR-2 for app. 2015-02-22 20:47:03 -06:00
Carlos - 安正超
38e9a241db Modify the wording of env() default values 2014-12-30 10:06:17 +08:00
Taylor Otwell
7b892e2452 Allow session encryption. 2014-12-23 16:18:38 -06:00
Taylor Otwell
93434d8679 Use the "Env" helper which has boolean support. 2014-12-15 13:07:04 -06:00
Taylor Otwell
ce48990bf2 Tweak some paths again. 2014-12-15 08:42:13 -06:00
Taylor Otwell
532297c109 Work on default project structure. 2014-12-08 09:31:31 -06:00
Taylor Otwell
48d1a0ce36 working on some configuration changes. 2014-12-03 21:59:42 -06:00
Taylor Otwell
da7443abba Tweak some paths. 2014-10-02 19:36:03 -05:00
Taylor Otwell
76c84d8652 Convert configuration PHP 5.4 arrays. 2014-08-24 14:03:58 -05:00
Taylor Otwell
9aae50e501 Working on the default app structure. 2014-08-18 22:46:16 -05:00
Taylor Otwell
d9f2ba84c9 2.0 modular refactoring. 2011-08-18 23:23:57 -05:00
Taylor Otwell
1e90e42404 first commit of 2.0 2011-08-18 19:56:29 -05:00