The OpenD Programming Language

Cgi.setResponseExpires

Sets the Expires: http header. See also: updateResponseExpires, setPublicCaching The parameter is in unix_timestamp * 1000. Try setResponseExpires(getUTCtime() + SOME AMOUNT) for normal use. Note: the when parameter is different than setCookie's expire parameter.

class Cgi
void
setResponseExpires
(
long when
,
bool isPublic = false
)

Meta