• Resolved FaldoSeriesNL

    (@faldoseriesnl)


    Hi,

    Thanks for this great plugin. I was using regular Sessions in my code, but for some reason these do not work in WP 3.6

    I run a website about a golf tournament where people can register. After registration they can edit their details. This is where I use your plugin. They have an option to log out, that’s where I use session_destroy();

    What code do I use to “destroy” a wp_session?

    Thanks!

    http://wordpress.org/plugins/wp-session-manager/

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

    (@ericmann)

    There is no equivalent of session_destroy() for WP_Session, but you can use wp_session_unset() to unset any session data. This will achieve roughly the same effect of killing the session.

Viewing 1 replies (of 1 total)

The topic ‘session_destroy();’ is closed to new replies.