OTRS - Manual
Prev | Chapter 7. Config File | Next

# Session management

The OTRS session management.

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

    [...]
        # ----------------------------------------------------#
        # session settings                                    #
        # ----------------------------------------------------#

        # SessionModule (replace old SessionDriver!!!)
        # (How should be the session-data stored?
        # Advantage of DB is that you can split the
        # Frontendserver from the DB-Server. fs is faster.)
        $Self->{SessionModule} = 'Kernel::System::AuthSession::DB';
    #    $Self->{SessionModule} = 'Kernel::System::AuthSession::FS';
    #    $Self->{SessionModule} = 'Kernel::System::AuthSession::IPC';

        # 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;

        # SessionUseCookie
        # (Should the session management use html cookies?
        # It's more comfortable to send links -==> if you have a valid
        # session, you don't have to login again.) [0|1]
        # Note: If the client browser disabled html cookies, the system
        # will work as usual, append SessionID to links!
        $Self->{SessionUseCookie} = 1;
    [...]

Prev | Home | Next
Agent notification | Up | URL login and logout settings