concept visitor in category angular

appears as: Visitors, A visitor, visitor, visitors, visitor
Getting MEAN with Mongo, Express, Angular, and Node.js 2ED

This is an excerpt from Manning's book Getting MEAN with Mongo, Express, Angular, and Node.js 2ED.

Figure 1.4. Example of a multithreaded approach: Visitors use separate resources. Visitors and their dedicated resources have no awareness of or contact with other visitors and their resources.

1.3.4. Remembering visitors with session support

Being single-threaded, Node.js doesn’t remember a visitor from one request to the next. It doesn’t have a silo of RAM set aside for you; it sees only a series of HTTP requests. HTTP is a stateless protocol, so there’s no concept of storing a session state. As it stands, it’s difficult to create a personalized experience in Node.js or have a secure area where a user has to log in; it’s not much use if the site forgets who you are on every page. You can do it, of course, but you have to code it yourself.