ibexa

Caution: This documentation is for eZ Publish legacy, from version 3.x to 5.x.

CookieTimeout

Summary

Sets the number of seconds that the session cookie lasts.

Usage

 

CookieTimeout=number

Description

This setting is set in the cookie used by the client browsers to store the session information. When the cookie times out it will be removed by the client browser. Note that the maximum session duration is the minimum of this setting and the SessionTimeout setting.

Examples

[Session]
# Number of seconds a session will last
# 3 days is standard
SessionTimeout=259200
# Number of seconds before a session is considered inactive/logged out
# 1 hour is standard
ActivityTimeout=3600
# Number of seconds a session cookie will last,
# 0 means until browser is closed
# Leaving the field empty means to use the default PHP settings
# (session.cookie_lifetime)
# Example for 6 minutes
CookieTimeout=360

With this configuration, HTTP cookies will expire in six minutes. If the site visitor is inactive for six minutes without closing his browser window, the cookie will expire and thus the user's session will be ended. If the user reloads the page later then a new session will be created. However, the previous session will not be removed from the database. It will become inactive in one hour and expired in three days.

Frederik Holljen (01/02/2005 2:15 pm)

Svitlana Shatokhina (09/11/2006 3:25 pm)

Frederik Holljen, Svitlana Shatokhina


Comments

There are no comments.