in reply to Setting a cookie
Setting a cookie is then as simple as: $q->cookie(<cookie values here>).