|
» W3Exchange http://www.w3exchange.com/index.html » ASP http://www.w3exchange.com/view_forum-id-29.html » Create a Cookie in ASP http://www.w3exchange.com/view_topic-id-3073.html |
| Fuad - 2008-05-22 02:43:57 |
Hi, Code::<%
Response.Cookies("firstname")="Alex"
%>It is also possible to assign properties to a cookie, like setting a date when the cookie should expire: Code::<%
Response.Cookies("firstname")="Alex"
Response.Cookies("firstname").Expires=#June 10,2008#
%>Thanks |
» Print this topic |