setCookie

Top  Previous  Next

Sets the cookies Header in the response.

Definition

setCookie( name, value, [expirationSeconds = 0], [path = /], [domain = ""], [secureOnly] )

 

Example

setCookie( "cool", "Eat This Cookie")

 

Alternative name

webserver:SetCookies(...)

 

Provided for Girder 5 compatibility.

Availability

Lua context during page load.