-
I have 2 forms when my users register for a conference.
After the first form they are redirected through a page that sets the cookie then another redirect into the second form. When they move away from the second form how do I just add the second form's data into the already existing cookie without deleting the data that is there already?
-
Code:
<%
Option Explicit
Dim cookievar
cookievar = Request.Cookies("Cookiename")
Response.Cookies("Cookiename") = cookievar & new_value
%>
Of course, you'll have to replace Cookiename with the name of your cookie, and new_value with whatever you want to insert.