July 2017
Beginner to intermediate
166 pages
4h 14m
English
The majority of web applications rely on cookies to maintain the session state. In the very early stages of the internet, cookies were only used to keep the session ID. Things have evolved since, then and now, cookies store a lot more information, such as user IDs and location preferences. The banking application we used as a case study in Chapter 2, Recording Your First Test, for example, relies on cookies to help each user maintain a valid session with the server, enabling the user to make a series of requests to the server. An example will help clear things up, so let's get to one. For our example, some resources are protected based on the role of the user who is logged in. Users can have an admin or user ...
Read now
Unlock full access