For a guide to the choosing ASP or PHP, click here
Home >> Cookies >> Save Information to a Cookie using a Variable This snippet shows how to save information to a cookie using a variable
<% ' lets create a variable named ' strCity and make its value ' New York dim strCity strCity = "New York" ' now save the variables contents ' to a cookie called City response.cookies("City") = strCity ' done %> What is ASP?
What is PHP?