[thelist] asp experts? 2 things...
Jenn Coker
me@wt.net
Wed Oct 4 11:17:19 2000
aard wrote:
---------------------
- i request the cart item from the form submit...
- i check for a session variable named 'foo', if it isn't there...
- i add item to the cart...
- i set a session variable named 'foo'...
- if, however, foo was already there, i just display the page...
how do you clear 'foo' to add more products?
simple, do that on your product selection page... kill 'foo' there,
effectively forcing all cart submissions to come only from that
page...
does that make any sense?
---------------------------
yup but.. if i'm killing foo in the product selection page, there is no foo
til they add something and i then set foo, they are then returned to the
*same* page which then kills foo.. foo's presence being necessary there
though to check whether i should just redisplay the page or not.. so it'd
always be adding the item in a refresh situation, right. er.. maybe not?