Set value in Database session

Asked

Viewed 26 times

0

I’m trying to use a database session

SESSION_DRIVER=database

I would like to know how to set the session in the specific column also

I’m trying like this

Session::put([
      'login' =>  $login
     ]);

But it does not save anything, I realize that when I soon it puts the other values, as ip, id, but the login I would like to enter also not saved and also would like to know at what moment it inserts the other values

  • If you have can exemplify this until you reach this conclusion? Type code step by step?

  • Session using a database?

  • Type: I would like to know how to set the session in the specific column as well? has how to explain why maybe you didn’t understand how it works!

  • I think that’s right. I don’t understand how it works right, because when it comes to the system, it inserts the values, I don’t know at what point

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.