Frontend: Session storage fixes
This commit is contained in:
@@ -234,7 +234,7 @@ sub handlePath {
|
||||
my $response = frontend::getBaseResponse(301, "OK");
|
||||
$response.="Location: /\r\n";
|
||||
$response.="Content-Length: 0\r\n";
|
||||
$response.="Set-Cookie: session=$token\r\n\r\n";
|
||||
$response.="Set-Cookie: session=$token;expires=".localtime(time()+7*24*3600)."\r\n\r\n";
|
||||
$aClient->send($response);
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user