A great way of personalizing your website is through the use of asp cookies. There are a lot of things that you can do with asp cookies. This script shows you how to write basic asp cookies to the browser:
<% Response.Cookies("MyCookie")("Domain") = "www.YourDomainHere.com" Response.Cookies("MyCookie")("Expires") = Date() + 1 Response.Cookies("MyCookie")("Name") = "WebUser" %>
There you have it, now you can write asp cookies. What happens next though? After you write the cookie, you need to read it when the user returns, right? Check out Read ASP Cookies Basics to learn how.
http://www.aspwebpro.com/aspscripts/miscellaneous/writecookiebasics.asp
No comments:
Post a Comment