I think the first key in cookieshould match the cookie name, where the extra keys will match the attributes of this cookie. Thus, instead of using 'name'as a key for your cookies, you should use some unique name.
def sendCookie(self):
cookies = cherrypy.response.cookie
cookies['cookie1'] = 'Chips Ahoy!'
cookies['cookie1']['path'] = '/the/red/bag/'
cookies['cookie1']['comment'] = 'round'
cookies['cookie2'] = 'Chocolate Chips'
cookies['cookie2']['path'] = '/the/yellow/bag/'
cookies['cookie2']['comment'] = 'thousands'
return 'Cookies are now in your hands.'
setCookie.exposed = True
It works?
: , morsel , ('shape' 'count'). .