Wilt, Charles wrote: > I'd like to create a web page that allows a user to key in an item > number and a quantity. When they hit submit, I'd like to clear the > input boxes to allow the next item to entered and output the just > entered item underneath the input boxes. > In other words, the bottom of the web page will be a history of the > items entered on the web page during the current session. Doesn't sound too hard, in general. > The question is what's the easiest/best way to save and output the > history? Easy answer (and you're going to hate this): It depends. You could do it by simply recomposing the page after each record is entered. You could also use ajax to dynamically update the page with the updated data. > I can use CGIDEV2, Net.Data or Websphere but I'm new to all of it and > not sure which environment to choose or how to accomplish outputting the > history. I suspect any of those could be used to accomplish the task. Some would require more work than others. > I could of course save the history someplace in the database, but then > I'd have to deal with figuring out when/how to delete the records and > determining current session vs. new session. You're probably going to have to do that regardless. david
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.