Wiki Home

Stateless


Namespace: Wiki
stateless object: An object that doesn't hold private state accumulated from the execution of one or more client calls.
From Rick Strahl's [excellent book] Internet Applications With Visual FoxPro 6
A stateless server does not retain any context for the client. The server does not know what action the previous request performed and does not make any assumptions about the current environment. For example, a client requests a record object from a server and passes in a primary key (PK) to let the server know which record to retrieve.

This is precisely the subject that came up in a recent study group: A Primary Key must be passed to every call, including navigation methods.
References:
Stateless Object topic on the Wiki Wiki Web.
See also:
Microsoft Transaction Server State Ful
Category MTS Category MTSProgramming Category Exam 70-155 Hot Topic Category Definitions
Contributors: Nancy Folsom
( Topic last updated: 1999.11.27 03:20:52 PM )