Set the internal session id in all cases. We should consider not storing it twice...
This commit is contained in:
parent
aeb825a14f
commit
cb6ea771dc
1 changed files with 1 additions and 0 deletions
|
|
@ -594,6 +594,7 @@ sub open {
|
|||
elsif ($self->{_var}{sessionId} ne "") { ##Fetched an existing session. Update variables with recent data.
|
||||
my $time = time();
|
||||
my $timeout = $self->setting->get("sessionTimeout");
|
||||
$self->{_sessionId} = $self->{_var}{sessionId};
|
||||
$self->{_var}{lastPageView} = $time;
|
||||
$self->{_var}{lastIP} = $self->request->address;
|
||||
$self->{_var}{expires} = $time + $timeout;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue