client object (Object/NES)

A server-side object available in NES.


JavaScript - 1.1
Netscape Enterprise Server - 2.0
JavaScript syntax:NESclient
HTML syntax:client
Object methods:destroy(), expiration()

One client object is created for each browser user. It is created when the user first accesses the NES application and persists until some time after they have last visited. A timeout allows the server to garbage-collect these session objects and purge them out. If a client comes back again later, a new object will need to be created.

Because there is no session object in Netscape Enterprise Server, this object serves the purpose of maintaining session state as well as holding details of the client.

To maintain state across all session in an application, you should use the project object discussed in a separate topic.

Client objects have a limited lifetime. It is configurable but typically they will expire and be discarded after 10 minutes of inactivity.

See also:Netscape Enterprise Server, project object, response.client, unwatch(), watch()

destroy()1.1 1.1 n/a n/a n/a n/a2.0 2.0 n/a n/a n/a n/a-
expiration()1.1 1.1 n/a n/a n/a n/a2.0 2.0 n/a n/a n/a n/a-