concept session in category software development
appears as: session, session, sessions, sessions

This is an excerpt from Manning's book Test Driven: Practical TDD and Acceptance TDD for Java Developers.
There’s little difference in this test compared to our first test, except that this test will force us to implement some logic into the LoginServlet rather than always rejecting any and all login attempts. We’re also checking for the addition of a session attribute named “username” as a means of verifying that the user has been logged in. This was a design decision made on the spot and a decision that we might change later on. For now, storing the username in the session shall indicate a logged-in user.