[thelist] asp experts? 2 things...

Jenn Coker me at wt.net
Wed Oct 4 12:01:31 CDT 2000


 aard wrote:
---------------------
i think i see what you're doing...

after someone selects a product (they submit a form), it goes to a
cart page to show the user what is in the cart... so there are two
pages the user sees...

product page:
- kill 'foo' session variable when page is requested...
- allow user to submit to cart...

cart page:
- check for 'foo' (if it's not there, this is from the product page, if it
is
there, it's a reload so do nothing but display the page)...
- add item to cart...
- set 'foo'...
- display cart (with options to add more items, returning the user to
the product page)...

any better?
---

Uh.. i dunno.. :)  here's the thing: the cart (a "module") is -included- in
the product page.. so.. if i check for foo in the cart module.. that should
work but.. it's included in the product page.. which already would've killed
foo. .. poor foo.

Heh. I dunnnnnooooo. Anyways, thanks.. does that cart module bein included
in the page thing really f#ck this up or what?





More information about the thelist mailing list