>
> one another question is about Bruno's answer about storing data in session 
> using dictionary.
>  I see that appending works for adding new orders but what if you place an 
> order that's already placed in session? I know how to compare one word at a 
> time, but with my knowledge, I don't know how to find if it's same order 
> and increase only the quantity if it finds one. any help? I will try my 
> best to figure it out by tonight though!
>

Is the order generated via a form? Maybe add a hidden "order_id" field to 
the form to uniquely identify the order (when creating an empty form, 
auto-generate the id on the server, and when re-loading an existing order 
form, populate it with the id value from the session). I guess the details 
will depend on your workflow.

Anthony

Reply via email to