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

Take session ID from session_id() instead of cookie. #133

Closed
wants to merge 3 commits into from

Conversation

KacerCZ
Copy link

@KacerCZ KacerCZ commented Mar 6, 2018

  • bug fix? yes
  • new feature? no
  • BC break? no

Fixes #129
Session ID is taken from session_id() instead of cookie.

@KacerCZ
Copy link
Author

@KacerCZ KacerCZ commented Mar 6, 2018

AppVeyor fail is not related to this PR.

session_id($id);
} else {
unset($_COOKIE[session_name()]);
$id = session_id();
Copy link
Member

@dg dg Mar 14, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested it and it returns empty string when session is not started.

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

Successfully merging this pull request may close these issues.

None yet

2 participants