WordPress.org

Ready to get started?Download WordPress

Forums

wSecure Authentication
[resolved] Plugin conflict and bug fix for wSecure v1.0 (php session handling) (2 posts)

  1. bbokac
    Member
    Posted 1 year ago #

    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/

  2. ajaylulia
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    We have fixed the session issue and updated the package with version 2.0.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic