Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
无论如何我可以使用本地存储来加载cookie,这样用户就不必登录了吗?有人请帮忙,我对本地存储的功能感到迷茫和困惑。假设我有一个名为 lol_SessionID 的 cookie,如何将其加载到具有本地存储的网页中?!
在 PHP 中从 cookie 加载值是,$cookie = $_COOKIE['cookieName'];但我想我误解了这个问题。
$cookie = $_COOKIE['cookieName'];