What am I doing wrong in my code? I originally set these cookies with
_javascript_, I don't see how that would make a difference..cookies are
cookies... anyway, when I do the JS alert statement below I get a whole ton
of cookies returned that should have been deleted.
<cfcookie name="surveyid" value="" expires="NOW">
<cfcookie name="question" value="" expires="NOW">
<cfcookie name="optional" value="" expires="NOW">
<cfloop from="1" to="20" index="i">
<cfcookie name="ans#i#" value="" expires="NOW">
<cfcookie name="ans#i#check" value="" expires="NOW">
</cfloop>
<script>
alert(document.cookie);
</script>
This JS code outputs the following...this is the cookie values...
question=What is my name macker; ans1sdfsdfs; ans1=Macker macker;
ans2=annaser er macka; optional=true; ans3=macker sdfsdf; ans1check=false;
ans2check=false; ans3check=false; ans4; ans4check=false; ans5check=false;
HIDEWELCOMEWINDOW=1; CFID=401; CFTOKEN=64042666;
JSESSIONID=7e301552641070328067800
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

