mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Reverted change due to lack or recompilation
This commit is contained in:
parent
44922f5222
commit
e8e3d915c9
1 changed files with 1 additions and 5 deletions
|
|
@ -256,11 +256,7 @@ function sendHTTPHeaderIfName(mime, ifname, maxage, content_disposition, extra_h
|
|||
}
|
||||
|
||||
if(_SESSION ~= nil) then
|
||||
local key = "session_"
|
||||
|
||||
ifinfo.http_port ~= nil) then key = key ..info.http_port end
|
||||
ifinfo.https_port ~= nil) then key = key ..info.https_port end
|
||||
|
||||
local key = "session_"..info.http_port.."_"..info.https_port
|
||||
lines[#lines + 1] = 'Set-Cookie: '..key..'='.._SESSION["session"]..'; max-age=' .. maxage .. '; path=/; ' .. cookie_attr
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue