|
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
 |
• |
There can be more
than one cookie.
|
|
|
• |
Using CGI, the
Web Server puts them all
|
|
together like
this:
|
|
|
|
prefs=nofrms; Java=OK
|
|
|
and puts this string in the environment
|
|
|
variable: HTTP_COOKIE
|
|
|
Using Servlets, you can use:
|
|
|
…cookies[i].getName();…
|
|
|
…cookies[i].getValue();…
|
|
|
…cookies[i].getVersion();…
|
|
|
|