Skip to content
New issue

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

Set-Cookie Max-Age value #45

Open
ToJIka4 opened this issue Aug 13, 2019 · 0 comments
Open

Set-Cookie Max-Age value #45

ToJIka4 opened this issue Aug 13, 2019 · 0 comments

Comments

@ToJIka4
Copy link

ToJIka4 commented Aug 13, 2019

It should be a non-zero-digit
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie#Syntax

t = date("!%A, %d-%b-%Y %H:%M:%S GMT", options.max_age)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant