I'm beginner in Laravel Session, and little confuse with laravel session system, but I'm already make session stored to database:
And then I have question:
- How to make 1 row session is dedicated for one user_id and one ip_address? so there is no multiple ip_address in session table, and don't have multiple user_id active in different ip_address.
- I want to server give session to an ip_address, so client side don't need to login to use the system. for example: server give session to user_id 1 at ip_address 10.1.1.71, and if user open browser in client with ip_address 10.1.1.71 and directly to dashboard there is already logged in with session and logged in to user_id 1. It's possible to create laravel system like that? any idea or someone have experienced in laravel session? or an tutorial for create session like this in laravel? thanks