• Resolved patdundee

    (@patdundee)


    Hi
    Great plugin but have an instant issue when updated to V3.0.0 from V2*

    As soon as I update, I lose all my sessions. Roll back to V1.2.2 to resolve as i did not have a copy of V2*

    P

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Eric Mann

    (@ericmann)

    This has been resolved with v3.0.2. My apologies for anything that broke.

    Version 3.0 was not intended to be backwards compatible and shifted to using <i>native</i> session functionality within PHP rather than a custom (admittedly buggy) object implementation. Some helpful devs in the community have contributed a backwards-compatibility patch, however, that restores functionality if you’re still using the WP_Session object.

    Updating to v3.0.2 should now be possible without losing track of your sessions – though any sessions active before the update will be reset as the new version uses a different storage mechanism.

    Moving forward, I’d encourage you to upgrade your usage of the WP_Session object to using native $_SESSION references as the former is deprecated and will eventually be removed.

    Thread Starter patdundee

    (@patdundee)

    Hi Eric Thats ok, no worries
    Question
    In a function i use

    $wp_session=WP_Session::get_instance();'
    
    Do we still need this?
    
    I assume also that where we use
    

    wp_session=value’
    all gets changed to php default
    `$_SESSION[name]=’

    Many thanks
    P

    • This reply was modified 7 years, 2 months ago by patdundee.
    • This reply was modified 7 years, 2 months ago by patdundee.
    • This reply was modified 7 years, 2 months ago by patdundee.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lost session swith update to 3.0.0’ is closed to new replies.