delete part of cookie
Posted on 2000-04-11
I just learn to set cookies and read cookies.
in my perl CGI script, i used cookies to save information of user input.
i set cookie name=sport
where $action= cookie(sport) .":". "$query_string1;$query_string2"
where $query_string1 and $query_string2 are user input.
1 . is it a good way to store user input in this way?
in this program, i don't have problem in adding more and more user input ($query_string1 and 2)
however, i would like to let my user delete one record at a time...
I don't know how can i delete one record from the cookie(sport)...
2. how can i do it?