you can add country names in single string... separated by comma (or other character)
and then add that string value into cookie variable... while reading back, read the string value.. split it by comma and loop through the splitted array.
but remember, cookie size has limitation. a cookie can hold upto 4kb of data only
hope this helps...
Cheers!
KK
Please mark as Answer if post helps in resolving your issue
My Site
kedarrkulkar...
All-Star
35547 Points
5696 Posts
Re: Multiple Values in a Single Cookie in ASP.net C#
Apr 25, 2012 03:46 PM|LINK
you can add country names in single string... separated by comma (or other character)
and then add that string value into cookie variable... while reading back, read the string value.. split it by comma and loop through the splitted array.
but remember, cookie size has limitation. a cookie can hold upto 4kb of data only
hope this helps...
KK
Please mark as Answer if post helps in resolving your issue
My Site