RE: includes and cart numbers
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 13495
interpreted = N
texte = Josh ->We utilize a server side include to build the left-hand navigation bar>for our site. The included file contains $search calls so people can>find all shirts or pants or whatever in our database. Here is an>example:[....]>Now, whenever people click on any of the items (like the one shown here),>they get a NEW shopping cart number, as opposed to their existing number >just being passed on. This is wreaking some serious havoc on our users, >as their shopping cart keeps getting nuked.>When a user clicks on a $search link on the right-hand side of the>screen, which is hard coded into the page (no includes), the shopping>cart number remains consistant.[...]I've actually heard of this before - it's a semi-rare problem in 2.0 that will be cleared up in 2.0.1. The workaround is pretty easy - for now, just use[include file=filename.html&cart=[cart]] to force the included file to recognize the current cart number.I hope this helps,Marc EagleStarNine Technologieshttp://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
Josh ->We utilize a server side include to build the left-hand navigation bar>for our site. The included file contains $search calls so people can>find all shirts or pants or whatever in our database. Here is an>example:[....]>Now, whenever people click on any of the items (like the one shown here),>they get a NEW shopping cart number, as opposed to their existing number >just being passed on. This is wreaking some serious havoc on our users, >as their shopping cart keeps getting nuked.>When a user clicks on a $search link on the right-hand side of the>screen, which is hard coded into the page (no includes), the shopping>cart number remains consistant.[...]I've actually heard of this before - it's a semi-rare problem in 2.0 that will be cleared up in 2.0.1. The workaround is pretty easy - for now, just use[include file=filename.html&cart=
[cart]] to force the included file to recognize the current cart number.I hope this helps,Marc EagleStarNine Technologieshttp://www.smithmicro.com/
Marc Eagle
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:
Entry point? Security w/ dbase helper? (1997)
[WebDNA] Different results for [THISURL] (2018)
Help with searching dates from mysql dump & searching between (2006)
WC1.6 to WC2 date formatting (1997)
Search Folder? (1998)
Logical and or in [hideif] (1997)
[WebDNA] Migration from 6.2 to 7. Problems with writing to DB's (2012)
Calculating multiple shipping... (1997)
Shipcost update problem (1997)
Cannot calculate prices (1997)
xmlparse and utf-8 encoding (2006)
WebCatb15 Mac CGI -- [purchase] (1997)
Running _every_ page through WebCat ? (1997)
duplicate cart numbers (2002)
Great product and great job ! (1997)
WebDNA Solutions ... sorry! (1997)
HELP WITH DATES (1997)
Documentation Feedback (1997)
Displaying xx number of characters (1997)
Date Range search (1997)