why not use sessions? it is way better than cookies and instead of writing a cooking every time you load a page you just put the start_session() code and all the variables are initialized. i would recommend sessions for something like this.
Roger Harrell wrote:
I know that there is a limit of 20 cookies posted from one domain. Ok now when you store an array as a cookie, does it store it as one cookie or 1 for each array element. The reason I ask is that I am building a songbook building application that stores each song as an array element. It\\'s working great, but when I went to test it I start building the book and I get to 21 elements and whammo all of a sudden I have 1 item not 21. (That\\'s in Netscape, IE allows me to get to 21 but goes back to one on item 22). So do I need to store this as some character separated variable instead, or am I missing something.
Thanks,
Roger