Product Home Page | Developer Site | Version | |
The following example shows how you can set cookie values and their attributes:
<%
Response.Cookies("Type") = "Chocolate Chip"
Response.Cookies("Type").Expires = "July 31, 1997"
Response.Cookies("Type").Domain = "msn.com"
Response.Cookies("Type").Path = "/www/home/"
Response.Cookies("Type").Secure = FALSE
%>
Copyright © 2003 Sun Microsystems, Inc. All rights reserved.