Setting Enterprise Portal and session timeouts

The duration of Enterprise Portal sessions are controlled by the following timeout properties, which the administrator can adjust, based on the requirements of the enterprise:

To limit everyone to a specific amount of time in the portal, set sessionDuration and com.sybase.jaguar.server.authtimeout to the same value. To limit activity, set com.sybase.jaguar.server.authtimeout to the preferred value, and set sessionDuration to twice that value. Setting the value of sessionDuration too high wastes resources.

StepsSetting the sessionDuration property

  1. In any text editor, open the securities.properties file, which is located in the java/classes/com/sybase/ep/security subdirectory of your EAServer installation.

  2. Search for this line:

    sessionDuration=3600
    

    Sybase recommends that you set the value of sessionDuration to 3600. The value of this property is expressed in seconds; the default value, 3600, equals one hour. This value defines the absolute time limit that a user can stay logged in to the same portal session. The time begins when the user logs in, and when time expires, the user must to log in again and establish a new session.

  3. Save and close the file.

StepsSetting the com.sybase.jaguar.server.authtimeout property

  1. Assuming EAServer is running, start Jaguar Manager.

    On UNIX or Linux:

    1. Set the JAGUAR environment variable to the location of your EAServer installation; for example:

      setenv JAGUAR /work/Sybase/EAServer
      
    2. Change to the $JAGUAR/bin directory, and run:

      jagmgr.sh
      

    On Windows, select Select Start | Programs | Sybase | EAServer 4.2.2 | Jaguar Manager.

  2. In the Jaguar Manager window, select Tools | Connect; then, on the connection screen, enter:

  3. Click Connect.

  4. Expand the Servers folder, then highlight Jaguar, and select File | Server Properties.

  5. Select the All Properties tab, and scroll through the list of server properties to find:

    com.sybase.jaguar.server.authtimeout
    
  6. Double-click the property name, and set its value to 1800 (30 minutes).

  7. Click OK.

  8. Highlight Jaguar, and select File | Shutdown and Start.

StepsSetting the com.sybase.jaguar.webapplication.session-config property

  1. In Jaguar Manager, expand these successive folders: Servers, Jaguar, Web Applications.

  2. Highlight “onepage,” and select File | Web Application Properties. In the Web Application Properties dialog box, select the General tab.

  3. Set the value of Session Timeout to an appropriate value; the default is 60 minutes.

  4. Click OK to save your changes.