Previous Next Contents Index


ISessionIDGen interface (deprecated)

The ISessionIDGen interface is deprecated and is provided for backward compatibility only. New applications should use the interface javax.servlet.http.HttpSession and the servlet programming model. For more information, see Chapter 11, "Creating and Managing User Sessions," in the Programmer's Guide (Java).

The ISessionIDGen interface represents a session ID generator. The session-related methods in the AppLogic class take an ISessionIDGen object as a parameter. By default, Netscape Application Server uses the ISessionIDGen object to generate a session ID when an AppLogic creates a new session with the createSession( ) method in the AppLogic class.

The session ID—based on a 64-bit number—uniquely identifies a session between a user and an application. In a Web-based application, session IDs are passed between the Web browser and Netscape Application Server to verify user sessions as users traverse the application. For non-browser clients, session IDs are tracked on the server.

Package
com.kivasoft

Related Topics
createSession( ) and getSession( ) in the AppLogic class (deprecated)

ISession2 interface (deprecated)

 

© Copyright 1999 Netscape Communications Corp.