posted June 07, 2000 07:12 AM
Howdy all,I am trying to figure out how to trim number of cookies.
My code presently sets 3-4 different cookies, based on the type of user, so they are set normally
setcookie ("cookie_name1", "$cookie_name1",time()3600);
setcookie ("cookie_name2", "$cookie_name1",time()3600);
setcookie ("cookie_name3", "$cookie_name1",time()3600);
(don't take this code to seriously, just an illustration)
How can I trim these into a single setcookie
setting all the variables in a single string?
Any ideas?