   cookie = "#{key}=#{value}; Expires=#{expires}"
   cookie += "; Path=#{global.ZEN.session.path or "/"}"
   cookie += "; Domain=#{global.ZEN.session.domain or ""}"
+  cookie += "; HttpOnly=true"
+  # cookie += "; Secure=true" @todo: only for HTTPS servers
   cookie
-
 
 __mustache = (name) ->
   dir = "#{__dirname}/../../../www/mustache/"


module.exports = response

__cachedMustache = {}

__cookie = (value) ->

  else if (code >= 300 and code < 400)
    color = "blue"

  _in = "⇠"
  _out = "⇢"
  if request.session?
    _in = "⇤"
    _out = "⇥"

  log.append
    at    : request.at
