Hi all.
After sessions and design problems here are some implemetation one...
I 've created the classic page with a table
which shows articles, one field of that table is a link to a page, call it cart.php
which gets the action and the artcode from url parameters(yepp!that's not too good I think.)
The problem is that the cart works but everytime I go back (and forward again) with browser's arrows or I refresh that page I get the last article added a second time...
The cause is pretty clear, but I couldn't find a solution for it:=(
So the question is:
Is possible to correct this using only php, thus withuot javascript (in this case I could use cookie-based carts instead of mysql ones)?
Simply I need a method which don't let refresh the cart if the page is not called by following a link.
Is possible to use frames? It sounds me strange since I've no memories about basket done with these...
Sorry for long message , hope someone will help ( On monday i've to give the product to the boss...)
thanks all/
Villo