Re: Shopping carts and reloading pages

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 11782
interpreted = N
texte = >If I have been following this thread correctly, a user who *does* return to >the front door would mess up the shopping cart value. Is this correct?Yes they would get a new cart number. In general, any URL that does not contain an explicit cart=xxx in it will cause a new cart# to be generated in that page's [cart] tags.But sometimes you want that: when you are done shopping and have purchased something, you need to go back to the front door and get a new cart if you want to shop some more. The old one is waiting to be processed and is not allowed to be used again.An alternative would be to have your customers register with a username/password which is then used as a lookup into a database for some kind of permanent cart id. Then you'd protect every page in your site with a forced username dialog so no matter how many times they reload or jump into the middle, they'd get the same id.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Shopping carts and reloading pages (Stephanie Wright 1997)
  2. Re: Shopping carts and reloading pages (Grant Hulbert 1997)
  3. Shopping carts and reloading pages (Stephanie Wright 1997)
>If I have been following this thread correctly, a user who *does* return to >the front door would mess up the shopping cart value. Is this correct?Yes they would get a new cart number. In general, any URL that does not contain an explicit cart=xxx in it will cause a new cart# to be generated in that page's [cart] tags.But sometimes you want that: when you are done shopping and have purchased something, you need to go back to the front door and get a new cart if you want to shop some more. The old one is waiting to be processed and is not allowed to be used again.An alternative would be to have your customers register with a username/password which is then used as a lookup into a database for some kind of permanent cart id. Then you'd protect every page in your site with a forced username dialog so no matter how many times they reload or jump into the middle, they'd get the same id.Grant Hulbert, V.P. Engineering | ===== Tools for WebWarriors ===== Pacific Coast Software | WebCatalog Pro, WebCommerce Solution 11770 Bernardo Plaza Court | SiteEdit Pro, SiteCheck, PhotoMaster San Diego, CA 92128 | SiteGuard 619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com Grant Hulbert

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Pull Down Search (2000) default error on NT? (1997) Upgrade to 3.07 problems (2000) Validation (2000) WebCat2 Append problem (B14Macacgi) (1997) Wanted: More Math Functions (or, Can You Solve This?) (1997) Help name our technology! (1997) and passing to a cart (1997) all records returned. (1997) Showif, Hideif reverse logic ? (1997) multi-paragraph fields (1997) bug in Webcat OSX (1999) Members register & gain access system (1998) WebCat 5 Intranet Question (2003) calculating time (2002) Upgrading old WebCat Database Files (1997) [WebDNA] webdna's svn repositories (2009) Running _every_ page through WebCat ? (1997) Nested tags count question (1997) Feedback Please (2003)