Your best bet is probably to store the cart in the database. Another advantage is that it allows the user to leave the site without losing their cart contents. (*Chris*)
On Sun, Mar 10, 2013 at 9:01 AM, john lee <sh_thorn_b...@yahoo.com> wrote: > > > after user login our e-commerce site successfuly, he was granted an > session. > > his shopping cart is saved into an session object. > > sometimes, customer need help for his shopping cart, in order to do that, > we need to access his cart/session object. > > how can we do session share in struts2 ? in other words,we need to save > sth(such as the accessary parts) in his shopping cart.. > > > any example? > > thanks in advance > > john