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.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.