Yes, just like the majority, if not all, php sites with login functionality. "Auth method" isn't "just a php session". It's a class with different functionality that stores/retrieves data from session. It's too simplistic to say "auth method just a php session". Auth also deals with forms, validation, loading the user from the database, etc.
Jul 25, 2018
4
Level 3
Is Laravel auth method is just a php session?
Is it a session based authentication?
Level 67
Basically, yes. It's more than just "php" sites though. It's basically all websites. The web itself is stateless (the http protocol doesn't have any state to it). To work with sessions, you need a cookie so the site can track your session. If you go to any of these sites with a login, you'll notice it will create a cookie, which usually stores the session id.
1 like
Please or to participate in this conversation.