Support » Plugin: wSecure Lite » Plugin conflict and bug fix for wSecure v1.0 (php session handling)

  • Resolved bbokac

    (@bbokac)


    Hi guys and author of the plugin. Just to keep this plugin perfect as is. There is small issue or bug in case if you have shopping plugin or any other plugin that uses PHP sessions.

    I.e. when you have issue in shopping plugin when uses session to memorize shopping chart items list and when you reload, change page; shopping chart items list disappears.

    This plugin erase session completely.

    Here how to fix it. To can keep both plugins to work in same time.
    Edit includes.php wSecure plugin file via WP editor or with some text editor.
    Find and replace code lines (you have in three places on line 44, 57 and 69):

    session_destroy();session_unset();
    with
    unset($_SESSION['jSecureAuthentication']);

    or/and

    session_destroy();
    with
    unset($_SESSION['jSecureAuthentication']);

    This is my solution that works okay for me. If anyone have better solution let me know.

    http://wordpress.org/extend/plugins/wsecure/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin conflict and bug fix for wSecure v1.0 (php session handling)’ is closed to new replies.