{
no warnings 'once';
$::lxdebug = LXDebug->new;
- $::auth = SL::Auth->new;
$::form = undef;
%::myconfig = ();
%::called_subs = (); # currently used for recursion detection
$self->unrequire_bin_mozilla;
+ $::auth = SL::Auth->new;
$::cgi = CGI->new('');
$::locale = Locale->new($::lx_office_conf{system}->{language});
$::form = Form->new;
$::auth->set_session_value('login', $::form->{login}, 'password', $::form->{password});
$::auth->create_or_refresh_session;
- $::auth->delete_session_value('FLASH')->save_session();
+ $::auth->delete_session_value('FLASH');
delete $::form->{password};
if ($action) {
$::form = undef;
$::myconfig = ();
Form::disconnect_standard_dbh;
+ $::auth->expire_session_keys->save_session;
$::auth->dbdisconnect;
$::lxdebug->end_request;