Page 1 of 1

Shopping Cart script

Posted: Fri Apr 17, 2009 2:20 am
by Lalla
Can someone PLEASE help me !! :crazy:

i want to submit values from one web page to another web page

this is a shopping cart program,

a user selects items he/she wishes by checking the checkboxes provided.

then all these should go on to a shopping cart which is in another page.

and my web page consist of several pages, where the user can select alot of products from each page.

Re: Shopping Cart script

Posted: Fri Apr 17, 2009 2:29 am
by charlestide
there are two ways for that.
1. save the data for cart on the sever, such as SESSION or cache (file or memcache?), then you can get those data in another page from SESSION or cache.

2. post all data to the server on page redirecting.
first page post the data to second page, and second page show that on the view useing HIDDEN IINPUT, so second page can post all data to another page.

i think first way will be good selection