hello all,
I'm not sure this topic of my is related to this forum; I try anyway.
I have a shopping cart ASP page that when a user select BUY button which I included:
<form name="additem" action="cart.asp" method="post">
<input type="hidden" name="action" value="additem">
<input type="hidden" name="idProduct" value="1448">
<input type="hidden" name="quantity" value="1">
<input type="SUBMIT" name="submit" value="BUY NOW!">
</form>
the page will than redirect to cart.asp page and the order is display on a shopping cart. My problem is when I refresh the cart.asp page, the number of order is automatically adding 1 to the order itself, and the so on.
On cart.asp page, I see this code keep showing 1 when I refreshed:
Quantity = Request.Form("quantity")
How can I turn it off the automatically adding when the page is just refreshed by user.
thanks.
I'm not sure this topic of my is related to this forum; I try anyway.
I have a shopping cart ASP page that when a user select BUY button which I included:
<form name="additem" action="cart.asp" method="post">
<input type="hidden" name="action" value="additem">
<input type="hidden" name="idProduct" value="1448">
<input type="hidden" name="quantity" value="1">
<input type="SUBMIT" name="submit" value="BUY NOW!">
</form>
the page will than redirect to cart.asp page and the order is display on a shopping cart. My problem is when I refresh the cart.asp page, the number of order is automatically adding 1 to the order itself, and the so on.
On cart.asp page, I see this code keep showing 1 when I refreshed:
Quantity = Request.Form("quantity")
How can I turn it off the automatically adding when the page is just refreshed by user.
thanks.