vendredi 9 septembre 2016

Duplicate records in User's Session Maangement

For the User Session Management, I set the SESSION_DRIVER=database and in database there is session table.

Schema::create('tblsession', function ($table) {
    $table->string('id')->unique();
    $table->integer('user_id')->nullable();
    $table->string('ip_address', 45)->nullable();
    $table->text('user_agent')->nullable();
    $table->text('payload');
    $table->integer('last_activity');
});

Here issue is: whenever i login, it keep creating the new User's Session records. I am using same Chrome browser and same Tab.

Did I miss anything in doing the configuration? I am following Session Management as described here



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire