Forum Moderators: coopster

Message Too Old, No Replies

Save more than one value in cookie.

         

romzinho2k7

7:44 am on Apr 5, 2006 (gmt 0)

10+ Year Member



People, it was sell an old site that was here in my bookmark and saw an interesting thing. Only that I did not manage to produce =(

Kind, he safe more than one value in cookie. We will suppose, you clicks in an article and puts to read after. Dae you can do that with how many goods wants. Then it goes in the list safe goods and all the ones that marked to read then they are there.

I repaired that cookies are safe this way:

Name:list
Value:001:002:003....

Then should break these values and to obtain each iD so that it work. I tried to do, but my always safe only an iD, if I put other he replaces and does not add.

Would anybody have some idea of as if it does?

Thanks

coopster

12:00 am on Apr 6, 2006 (gmt 0)

WebmasterWorld Administrator 10+ Year Member



You just need to give the cookie [php.net] a different name.