CKResponse has methods for setting cookies. These methods are defined in CKMessage, the superclass of CKResponse. Use add_cookie(cookie) and remove_cookie(cookie).
cookie = CKCookie( 'name' ) application.response.add_cookie( cookie )