")
end
end
elseif action = "remove cookie" then
key = Request().Form("key")
if key <> null then
key = key.trim()
if key.length() > 0 then
cookie = Cookie(key, "")
cookie.setExpires(0)
response.Cookies(cookie)
%>
Cookie to remove:
<%
Response().println(key + "
")
end
end
end
end
println("Cookies received from browser:
")
cookies = Request().Cookies()
if cookies = null then
print("None.
")
else
keys = cookies.keys()
do while keys.hasMoreElements()
id = keys.nextElement().toString()
println(id + " = [" + cookies.get(id) + "]
")
loop
end
response.isBuffered(false)
%>