client
NES2+Syntax
Core object is created with each connection of a client to your application.
Description
An instance of the client object is created with each connection of a user to your application. This object is used to maintain session variables for that user as he or she moves through your application's pages. Because the object is not created until a user connects to your application, you cannot use the object on the first page of your application.
Note
The client object is created for each user's connection to each application, so a single user connected to two applications will have two client objects created.
The object itself is held until the user is inactive a set period of time or the object is destroyed. At that time, the ...
Get Pure JavaScript now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.