homerUK
05-20-2003, 01:55 PM
Hi,
I have a set of cookies, all named:
page + pageNo = "value"
they all work perfeclty.... but I need to output all the cookies which begin with "page" then get their value......
for example..
page1 = "max"
page2 = "max"
page3 = "min"
there will be no set number of pages... so I need a for loop which will go through the document.cookies list, getting each page number and its value... possibly loading it in to an array.
any ideas??
thanks v much!!
I have a set of cookies, all named:
page + pageNo = "value"
they all work perfeclty.... but I need to output all the cookies which begin with "page" then get their value......
for example..
page1 = "max"
page2 = "max"
page3 = "min"
there will be no set number of pages... so I need a for loop which will go through the document.cookies list, getting each page number and its value... possibly loading it in to an array.
any ideas??
thanks v much!!