Forum Moderators: coopster

Message Too Old, No Replies

populate array using refresh

need to populate array using refresh

         

Kelmadics

7:57 pm on Jan 16, 2006 (gmt 0)

10+ Year Member



I have a small problem about arrays. I wanted to populate an array everytime I refresh a page. the problem is everytime i refresh a page the array itself gets overwritten so the array resets. I tried using session to retain the value of the array but it still doesnt work. thanks for any help.

grandpa

8:26 pm on Jan 16, 2006 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Hi Kelmadics, and Welcome to WebmasterWorld!

The small problem is not too difficult to overcome. I would store those array values, either in a database table or a flat file, then when you refresh the page check to see if a record or file exists that can be used to re-populate the array.