SyntaxFix
Write A Post
Hire A Developer
Questions
Yes, that is correct.
Not putting an expires part in will create a session cookie, whether it is created in JavaScript or on the server.
expires
See https://stackoverflow.com/a/532660/1901857