We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
以下几个选项可用于 cookie,
默认情况下,当浏览器关闭时,cookie 会被删除,但您可以通过设置到期日期(UTC 时间)来更改此行为。
document.cookie = "username=John; expires=Sat, 8 Jun 2019 12:00:00 UTC";
默认情况下,cookie 属于当前页面。但是您可以使用路径参数告诉浏览器 cookie 属于哪个路径。
document.cookie = "username=John; path=/services";
The text was updated successfully, but these errors were encountered:
No branches or pull requests
以下几个选项可用于 cookie,
默认情况下,当浏览器关闭时,cookie 会被删除,但您可以通过设置到期日期(UTC 时间)来更改此行为。
默认情况下,cookie 属于当前页面。但是您可以使用路径参数告诉浏览器 cookie 属于哪个路径。
The text was updated successfully, but these errors were encountered: