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

Check if session shall be started #29

Closed
far4599 opened this issue Feb 23, 2017 · 2 comments
Closed

Check if session shall be started #29

far4599 opened this issue Feb 23, 2017 · 2 comments
Labels

Comments

@far4599
Copy link

far4599 commented Feb 23, 2017

Start session if session does not exist:

src/Provider/Session/Session.php

namespace SocialConnect\Provider\Session;

class Session implements SessionInterface
{
    public function __construct()
    {
        if (session_status() == PHP_SESSION_NONE) { // New line
            session_start();
        } // New line
    }
@ovr ovr added the bug label Feb 23, 2017
@ovr
Copy link
Member

ovr commented Feb 23, 2017

Hey!

Thank you for bug reporting, I am going to prepare patch and new release!

@ovr ovr changed the title Chack if session shall be started Check if session shall be started Feb 23, 2017
@ovr
Copy link
Member

ovr commented Feb 23, 2017

I submitted patches to master (1.1 branch - it's new upcoming release - dev-master)
And I released 1.0.1 (patch for 1.0 release)

Thanks

@ovr ovr closed this as completed Feb 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants