Stateful and Stateless

Stateful and stateless are adjectives that describe whether a computer or computer program is designed to note and remember one or more preceding events in a given sequence of interactions with a user, another computer or program, a device, or other outside element.

Stateful means the computer or program keeps track of the state of interaction, usually by setting values in a storage field designated for that purpose.

Stateless means there is no record of previous interactions and each interaction request has to be handled based entirely on information that comes with it.

Stateful and stateless are derived from the usage of state as a set of conditions at a moment in time. (Computers are inherently stateful in operation, so these terms are used in the context of a particular set of interactions, not of how computers work in general.) 1)Rouse, Margaret. “What Is Stateless? – Definition from” TechTarget, 1 Apr. 2005. Web. 2 Dec. 2015. <>. 

« Back to Glossary Index