Added by chmd almost 11 years ago
Hi,
I am wondering whether I can use the lua interface to set multiple cookies (or, more generally, multiple headers with the same name).
For setting one cookie, this works:lighty.header['Set-Cookie'] = 'Foo=bar'
I tried to use a table:lighty.header['Set-Cookie'] = {'Foo=bar', 'bar=baz'}
But it did not work.
Is there even a way to do that? I'm using lighty 1.4.31-4 (debian stable)
Cheers!