Session management

The OpenTRS session management.

Example 7-9. Kernel/Config.pm - Session management

[...]
    # ----------------------------------------------------#
    # session settings                                    #
    # ----------------------------------------------------#
    
    # SessionDriver
    # (How should be the session-data stored? [sql|fs]
    # Advantage of sql is that you can split the 
    # Frontendserver from the DB-Server. fs is faster.)
    $Self->{SessionDriver} = 'sql';
    
    # SessionCheckRemoteIP 
    # (If the application is used via a proxy-farm then the 
    # remote ip address is mostly different. In this case,
    # turn of the CheckRemoteID. ) [1|0] 
    $Self->{SessionCheckRemoteIP} = 1;

    # SessionDeleteIfNotRemoteID
    # (Delete session if the session id is used with an 
    # invalied remote IP?) [0|1]
    $Self->{SessionDeleteIfNotRemoteID} = 1;

    # SessionMaxTime
    # (Max valid time of one session id in second (8h = 28800).)
    $Self->{SessionMaxTime} = 28800;

    # SessionDeleteIfTimeToOld
    # (Delete session's witch are requested and to old?) [0|1]
    $Self->{SessionDeleteIfTimeToOld} = 1;
[...]