28
Netprog 2002  -  HTTP
Multiple
Cookies
•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();…
•
Text Box: maybe a space,
maybe not!
maybe a space,
maybe not!