I am new at web programming and learning concepts. I have a question about client-side programming. I have a database for my web site and I do not want it to be queried unnecessarily by the users. To do this I want some informations like an integer array to be stored on client machine and used as foreknowledge to walk on the website. Otherwise user has to retrieve this information from database on every click which exhaust server. I want this information to be stored from the opening of web site until web site is closed. I thought javascript does such things but I am not sure about that javascript stores informations for period web site is open, in other saying datas stored in variables may be lost when change page while walking on the site. If you guide me about this issue I will be happy. Thank you very much.
Share
AFAIK, You cant access the client machine for reading/storing informations from website provided if you are using certified flash plugin.
you could store these static informations in browser cookie provided its not secure data.
Cookie could be accessed using javascript.