![]() Confused? Let's keep it simple for now.Īn account is created by the server as soon as username and password are entered correctly. As a result, the cookie variable serves as a pointer to the session formed. When you log in, the web server opens a session and sets a cookie variable in your browser to keep track of your session. However, if it matches, you are logged in. A password error message will appear if the two don't match. Next, the server verifies your password against the server's password database. So, how does it function? How does the website verify our identity? How does it know who's logged in and where they're logging in from? Let's take a look at each of these questions individually.Īn online site's server receives your username and password every time you check in. ![]() You can't tweet on Twitter, comment on Facebook, or email on Gmail unless you've signed up for the service and are logged in. They all have one thing in common: they all demand you to check in before you can accomplish anything. ![]() How Does User Login Work?Ĭookies And Session We all use Facebook, Gmail, and Twitter on a daily basis.
0 Comments
Leave a Reply. |