local cookies = require"cgilua.cookies" CL_COOKIE = "cgilua_cookie" local test = cookies.get (CL_COOKIE) cookies.set (CL_COOKIE, os.date()) cgilua.htmlheader () cgilua.put ([[

Testing Cookies library

]]..CL_COOKIE..' = '..tostring(test)..[[
Assigning current date to cookie!
Reload this script to check cookie's value! ]])