Cookie.setVersion

Sets the version of the cookie protocol that this Cookie complies with.

<p> Version 0 complies with the original Netscape cookie specification. Version 1 complies with RFC 2109.

<p> Since RFC 2109 is still somewhat new, consider version 1 as experimental; do not use it yet on production sites.

@param v 0 if the cookie should comply with the original Netscape specification; 1 if the cookie should comply with RFC 2109

@see #getVersion

class Cookie
void
setVersion
(
int v
)

Meta