Skip to Content
Patterns of Enterprise Application Architecture
book

Patterns of Enterprise Application Architecture

by Martin Fowler
November 2002
Intermediate to advanced
560 pages
16h 4m
English
Addison-Wesley Professional
Content preview from Patterns of Enterprise Application Architecture

Chapter 17. Session State Patterns

Client Session State

Stores session state on the client.

How It Works

Even the most server-oriented designs need at least a little Client Session State, if only to hold a session identifier. With some applications you can consider putting all of the session data on the client, in which case the client sends the full set of session data with each request and the server sends back the full session state with each response. This allows the server to be completely stateless.

Most of the time you’ll want to use Data Transfer Object (401) to handle the data transfer. The Data Transfer Object (401) can serialize itself over the wire and thus allow even complex data to be transmitted.

The client also needs to store ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microservices Patterns

Microservices Patterns

Chris Richardson
Mastering API Architecture

Mastering API Architecture

James Gough, Daniel Bryant, Matthew Auburn
Developing Apps with GPT-4 and ChatGPT

Developing Apps with GPT-4 and ChatGPT

Olivier Caelen, Marie-Alice Blete

Publisher Resources

ISBN: 0321127420