Re: Shop from PDF

This WebDNA talk-list message is from

2004


It keeps the original formatting.
numero = 59814
interpreted = N
texte = Dan, Maybe not as much trouble as you think. When I went from carrying the cart tag from page to page to using cookies, it was as easy as 1) adding [settcookie] code when they first opened the cart 2) setting a text variable at the top of my cart-related templates like so [text]cart=[getcookie yourcartcookiename][/text] to feed into my old code There are other nuances I added that were simply not possible with the old method... like letting them come back and continue if they lost continuity between pages. Then I started setting other cookies so they could continue shopping where they left off, even if they mucked around in their cart looking at other items' detail pages. Oh, and not having to carry the cart tag from page to page is a nice bonus. Once I started using cookies, and for usernames and passwords too, I never looked back. I'm a cookie monster in more ways than one.. Terry >Rob, > >I appreciate the advice, but this particular project (which is now >done and working nicely, btw) was for an existing store and changing >the entire cart schema from URL-based to cookie-based would have >been nearly impossible to implement in time for deadline, and would >have also cost the client an arm and a leg since I would have had to >basically rip the store apart and practically start over (sure I >could do a global find and replace for "?cart=[cart]" and >"&cart=[cart]", but that still wouldn't necessarily catch >everything... luckily, client is fluent in WebDNA, so it's not like >I sold them a bunk solution; we discussed our options and agreed on >what I eventually did which was create a temp.db that acted like a >server-side 'cookie'. We did discuss the IP/AOL proxy thing and >decided that odds were in our favor for that prob not to happen, but >that we would keep our eyes on it. > >My dislike of cookies comes from the fact that people block them, >but I can definitely see their usefulness. I have a store to build >from scratch for 2005 and I will consider cookies at that time. > >Thanks again for the advice. > >-Dan ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: OT: P3P (was Re: Shop from PDF) ( John Peacock 2004)
  2. OT: P3P (was Re: Shop from PDF) ( devaulw@onebox.com 2004)
  3. Re: Shop from PDF ( "Dan Strong" 2004)
  4. Re: Shop from PDF ( John Peacock 2004)
  5. Re: Shop from PDF ( "Dan Strong" 2004)
  6. Re: Shop from PDF ( John Peacock 2004)
  7. Re: Shop from PDF ( Terry Wilson 2004)
  8. Re: Shop from PDF ( "Dan Strong" 2004)
  9. Re: Shop from PDF ( Robert Schmidt 2004)
  10. Re: Shop from PDF ( Joe D'Andrea 2004)
  11. Re: Shop from PDF ( "Dan Strong" 2004)
  12. Re: Shop from PDF ( Sam Lewis 2004)
  13. Shop from PDF ( "Dan Strong" 2004)
Dan, Maybe not as much trouble as you think. When I went from carrying the cart tag from page to page to using cookies, it was as easy as 1) adding [settcookie] code when they first opened the cart 2) setting a text variable at the top of my cart-related templates like so [text]cart=[getcookie yourcartcookiename][/text] to feed into my old code There are other nuances I added that were simply not possible with the old method... like letting them come back and continue if they lost continuity between pages. Then I started setting other cookies so they could continue shopping where they left off, even if they mucked around in their cart looking at other items' detail pages. Oh, and not having to carry the cart tag from page to page is a nice bonus. Once I started using cookies, and for usernames and passwords too, I never looked back. I'm a cookie monster in more ways than one.. Terry >Rob, > >I appreciate the advice, but this particular project (which is now >done and working nicely, btw) was for an existing store and changing >the entire cart schema from URL-based to cookie-based would have >been nearly impossible to implement in time for deadline, and would >have also cost the client an arm and a leg since I would have had to >basically rip the store apart and practically start over (sure I >could do a global find and replace for "?cart=[cart]" and >"&cart=[cart]", but that still wouldn't necessarily catch >everything... luckily, client is fluent in WebDNA, so it's not like >I sold them a bunk solution; we discussed our options and agreed on >what I eventually did which was create a temp.db that acted like a >server-side 'cookie'. We did discuss the IP/AOL proxy thing and >decided that odds were in our favor for that prob not to happen, but >that we would keep our eyes on it. > >My dislike of cookies comes from the fact that people block them, >but I can definitely see their usefulness. I have a store to build >from scratch for 2005 and I will consider cookies at that time. > >Thanks again for the advice. > >-Dan ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Terry Wilson

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:

max page views Mac can handle (1999) HomePage Caution (1997) two unique banners on one page (1997) Great product and great job ! (1997) searchable list archive (1997) Secure Server (1997) A little syntax help (1997) ODBC (2000) sending graphics in HTML email via [sendmail]? (2000) formatting search results (1999) Two submit buttons ? (1997) [WebDNA] WebDNA7 and mod_fcgi (2013) Tech question about web dna actions (1998) WebCat2b12 - nesting [tags] (1997) Pirated WebCat? NOT... (2003) New Line In grep (2003) Searchable mail archive problems (2003) 3RD POST Character limit in [Search]? (1998) Search returns all, not 20 (1997) THANKS (1997)