Forum Moderators: open
Problem: If you reload the web page by pressing F5 or Ctrl-R, your shopping cart is empty again. :-) This illustrates the biggest problem of this JavaScript application approch: If the user reloads the page--on purpose or by accident--, your variable values are gone for good. (Which renders this model completely useless IMHO.)
[edited by: tedster at 3:28 pm (utc) on July 29, 2003]
I would imagine that such a system as frank was talking about would need to use client cookies to track data that is session dependent, so that there would be some sort of persistence of information maintained across the submittal (or refreshes, &c). At least, that is probably how I would do things. But you might not even need anything even that complex...
what exactly are you trying to accomplish? Are you simply trying to get data from an iframe into it's parent window? Or are you trying to submit a form in the iframe because you need to submit it, and you just want to send the same data that is being submitted to the parent window in addition to doing the submittal?
Jordan