【发布时间】:2019-09-29 01:43:03
【问题描述】:
我从几天前开始学习 Laravel,对 Laravel 中的身份验证如何工作有点困惑。会话存储在哪里?
【问题讨论】:
-
我在谷歌的第一次搜索中发现了这个
PHP Default Session Storage (File System): In PHP, by default session data is stored in files on the server. Each file is named after a cookie that is stored on the client computer. This session cookie (PHPSESSID) presumably survives on the client side until all windows of the browser are closed. -
关于 laravel 身份验证的讨论太广泛了,您能分享一下当前代码的确切问题吗?
-
是的,我想知道会话 ID 在哪里?在 cookie 中
标签: laravel session authentication