Hi Diego,

On Fri, Jan 10, 2003 at 04:50:56PM -0300, Diego Fernandez wrote:

> I have instaled Redhat 7.3 and otrs0.5 Beta8
> I have the following config.pm
> (See attached file: Config.pm)
> I have the following session.pm
> (See attached file: Session.pm)
> 
> If I'm loged as customer or agent and I close the internet explorer,
> without logout, when I open another internet explorer, and look at Session
> Managment,
> I can see three sessions running,
> 
> But I noticed that after some time (more or less two hours) they
> disappeared from that page.
> How does sessions works at OTRS?

If the user login was successfully a new session id will be created.
The session id is submitted on each http request (site request) via
URL (..om&SessionID=12345678..) or as http cookie. There are some data
stored to the session id (like createtime, username, perferneces, ...).

The session data is stored on the OTRS server (depends on the session
backend modules - database, filesystem or RAM). 

If the OTRS logout is used, the session data will be removed from the
OTRS server.

If a browser is closed (without OTRS logout) the session data is still 
stored on the OTRS server (shown in the admin interface). If the session 
is expired the var/cron/session cronjob (exactly "bin/DeleteSessionIDs.pl 
--expired") removes the session from the OTRS server.

 - If the browser supports http cookies and the browser is closed (without 
   OTRS logout) there is no possibility to get back to the session (because
   the session id (http cookies) is removed on the client machine).

 - If the browser supports no http cookies, the session id is append to 
   the URL. If the browser is closed (without OTRS logout) it's possible 
   to get back to the OTRS session via browser history (URL history) until 
   the session is expired.

PS: To tell OTRS to use http cookies (if browser supports cookies) set 
$Self->{SessionUseCookie} to 1 ($Self->{SessionUseCookie}=1;). 

> I want to know if sessions remain opened, won't the system become slower
> each time a session is opened?

The var/cron/session cronjob is cleaning up your session storage (see
admin interface - sessions). 

> Diego.

  Martin

--
Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/
--
"The number of Unix installations has grown to 10, with more expected."
                      The Unix Programmer's Manual, 2nd Edition, June 1972

_______________________________________________
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to