lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Tomas wrote:

	Do you mean "cookie.delete"?
So, what does options.expires stand for?

and what should

 if options.expires then
   local t = date("!%A, %d-%b-%Y %H:%M:%S GMT", options.expires)
   cookie = cookie .. %Private.optional("expires", t)

do (evaluated on the console date() always returns the current date, regardless the second parameter - correct me if I'm wrong).

Regards, Markus