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

WARNING: setcookie(): Unrecognized key 'lifetime' #3103

Closed
lianee opened this issue Jan 31, 2020 · 1 comment
Closed

WARNING: setcookie(): Unrecognized key 'lifetime' #3103

lianee opened this issue Jan 31, 2020 · 1 comment
Assignees

Comments

@lianee
Copy link

lianee commented Jan 31, 2020

WARNING: setcookie(): Unrecognized key 'lifetime' found in the options array in elFinderSession.php line 227.

session_get_cookie_params() returns a lifetime key that generates a warning in setcookie().

unset($cParm['lifetime']); before setcookie() fixes it.

@nao-pon nao-pon self-assigned this Feb 1, 2020
@nao-pon nao-pon closed this as completed in bd98e9c Feb 1, 2020
@nao-pon
Copy link
Member

nao-pon commented Feb 1, 2020

@lianee Thanks! 👍

nao-pon added a commit that referenced this issue Mar 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants