Forum Moderators: coopster
I'm not conversant with ajax, but am familiar with the basic concept. I'm trying to get an idea if what I want to do is difficult, or how to approach it.
Let's say I have a form on my site that allows the visitors to check off options for the product. As they change their options in the form, the 'total' price is constantly updated, using ajax which will hit a php script with pricing tables on my server. Easy enough I'm sure.
Now, I want their current selection to remain static in the form as they change pages on the site. So if they run a pricing calc, then go look at an options page on the site, the new options page remembers their previous calculations and displays it automatically.
I'm guessing that this will be done somehow with cookies? Is that what I should do? have cookies remember the current selection, update the cookie every time they change an option, and check the cookie every time the form is generated? Or is there a more sensible way to have this set up.