stokito / grails-cookie

Makes dealing with cookies easy. Provides an injectable service and tag to easily get, set, and delete cookies with one line
http://grails.org/plugin/cookie
16 stars 12 forks source link

Support of cookie attributes #22

Closed stokito closed 9 years ago

stokito commented 9 years ago

A cookie has a name, a value, and optional attributes such as a comment, path and domain qualifiers, a maximum age. We need to handle this attributes:

They all are listed in Cookie class.

Also they should be used in setCookie() and deleteCookie() methods

stokito commented 9 years ago

In last RFC 6265 from 2011 comment attr was removed as unused in practice