Servertec session.ini
Documentation
Conventions
Command Line
Java API
Servlet API
Servlets
Config Files
acl.ini
aliases.ini
computers.ini
groups.ini
iws.ini
logger.ini
messages.ini
mimetypes.ini
resources.ini
rights.ini
servlets.ini
session.ini
users.ini

Classes
Directory Tree

Return

 

session.ini, contains parameters used by Sessions Manager.

Syntax

timeout = timeout
interval = interval
source= source
name= name
comment= comment
domain= domain_name
path= uri
max_age= max_age
secure= secured

comment any comments for the session cookie.

Servertec Internet Server Session Cookie is the default for Servertec Internet Server.

Used only when source is set to Cookie.

domain_name the domain of the session cookie.

Used only when source is set to Cookie.

interval used to schedule to session manager to remove invalid sessions every n minutes.

5 minutes is the default for Servertec Internet Server.

-1 can be used to never remove invalid sessions. Using this value is will increase memory requirements and may have a negative impact on performance.

The number must be at least 1 minute.

Setting this value too large or too small may impact performance and memory requirements.

max_age the maximum number of seconds that a session cookie exists.

-1 is used to maintain the session cookie while the browser is running.

-1 is the default for Servertec Internet Server.

Used only when Source is set to Cookie.

name the name of the session identifier.

iwsSessionID is the default for Servertec Internet Server.

secured whether the session cookie should only be sent by the client to the server using a secure protocol.

y send to cookie using a secure protocol.

n do not send the cookie using a secure protocol.

n is the default for Servertec Internet Server.

This parameter should only be set to y when the server first sends the session cookie to the client using a secure protocol.

Used only when source is set to Cookie.

source the mechanism used to maintain a session's identifier on the client.

Cookie results in a cookie being automatically created on the client's browser to maintain the session identifier.

URL indicates that the session identifier will be manually maintained by appending it to all the links. Response.encodeUrl() will need to be used in servlet generated pages.

Cookie is the default for Servertec Internet Server.

URL should be used when cookies are not supported or allowed by the client.

timeout the maximum number of minutes that a session can exist without being accessed before it is invalidated.

30 minutes is the default for Servertec Internet Server.

-1 is used to maintain all sessions while the server is running.

Setting this value too large or to -1 may impact performance and memory requirements.

uri the URI of the session cookie.

%base_uri% - the requested uri.
%script_name% - the the servlet path.

Used only when source is set to Cookie.

Notes

Changes made to configuration files will not be used until the Servertec Internet Server is restarted.

Example

timeout = 30
interval = 5
source=cookie
name=iwsSessionID
comment=Servertec Internet Server Session Cookie
domain=
path=
max_age=-1
secure=n
 top of page
Copyright © 1998-2005 Servertec. All rights reserved.
Privacy Statement.
Last Modified: Mon Sep 05 14:25:45 EDT 2005