Re: Cart date/time

This WebDNA talk-list message is from

2006


It keeps the original formatting.
numero = 66577
interpreted = N
texte = My original question related to incoming links which contained Cart variables which didn't have a cart file created for them. To give you an example. (1) Someone visits my site, doesn't add anything to their cart, and then bookmarks a page which contains the Cart ID (2) A year later they use the same bookmark to visit my site, they will then arrive with the original Cart ID, and that will then be used as the Cart ID for the rest of their visit. At the point of arrival, I want to be able to identify Cart ID's (not cart files) which were issued more than 24 hours previously. Hope this clarifies the question. Thanks. Mark. On 29 Mar 2006, at 03:20, Stuart Tremain wrote: > Marko > > You can use [cart] to give you a unique number and provided you do > not put anything into the cart via [SetHeader] or [AddLineItem] a > file will never be produced. > > In Mark's original question he was wanting to find carts that were > more than 24 hours old, therefore he had info stored in them and > were a physical file on the server. To find out how old the files > are you could reverse engineer the [Cart] algorithm or simply do as > Donovan suggested: > > [orderfile file=./[cart]] > Cart was created on the day: [date] > and the time: [time] > [/orderfile] > > You can also alter the sweep value in the prefs file if all you > want to do is delete the abandoned cart. > > > > Stuart Tremain > idfk web developments, sydney, australia > > > On 29 Mar 2006, at 12:31 PM, Marko Bernyk wrote: > >> Trying not to step on your toes... but in your use of [Cart] it is >> defined in part a)... my use is in Part b) >> >> [CART] >> a) Putting [CART] in your template will automatically create a >> unique shopping cart identifier that can be used in eCommerce >> commands such as Add, Remove, Purchase, etc. If no cart value is >> specified when you arrive at a page, then a new unique value is >> created. If you pass in a cart value in the URL or form >> (propagating the same value from page to page), then that same >> cart value is used throughout the page. >> b) [CART] is also handy for times when you just need a guaranteed- >> unique value somewhere, such as a record identifier or even a >> product SKU. For this reason, [cart] works in Typhoon as well as >> WebCatalog. >> >> -- >> Regards, >> Marko >> >> >> On Wednesday, 29 March 2006 12:28 PM, Marko Bernyk >> wrote: >> Only if you are using the shopping part - and want to create a >> file... >> >> [orderfile file=./[cart]] creates a file with date and time as >> fields.... which I don't want! >> so now I have to delete the files! >> >> Dan good thinking though :) >> >> -- >> Regards, >> Marko >> >> >> On Wednesday, 29 March 2006 12:15 PM, Dan Strong >> wrote: >> Works. Once again, I overthought a solution. >> -Dan >> >> >> On Tue, 28 Mar 2006 17:09:36 -0800 >> "Dan Strong" wrote: >>> Let me see if I understand... if I do the following: >>> >>> [text] myVar=[cart][/text] >>> >>> Then I follow it up with a: >>> >>> [orderfile file=./[cart]] >>> Cart was created on the day: [date]
>>> and the time: [time] >>> [/orderfile] >>> >>> I'll get the correct date/time? I'll test now. >>> -Dan >>> >>> >>> >>> >>> On Tue, 28 Mar 2006 17:04:58 -0800 >>> "Dan Strong" wrote: >>>> Where? >>>> >>>> On Wed, 29 Mar 2006 11:54:50 +1100 >>>> Stuart Tremain wrote: >>>>> If the file is created, the date and time are recorded. >>>>> >>>>> Stuart Tremain >>>>> idfk web developments, sydney, australia >>>>> >>>>> >>>>> On 29 Mar 2006, at 11:59 AM, Dan Strong wrote: >>>>> >>>>>> Unless, of course, someone uses [cart] as a unique ID separate >>>>>> and >>>>>> apart from the e-commerce functions and does not include date & >>>>>> time in the record. >>>>>> -Dan >>>>>> >>>>>> >>>>>>> Yes Stuart, >>>>>>> This is why there is no reason in my mind to reverse engineer >>>>>>> the >>>>>>> CART number.. other than for academics sake. Its already there. >>>>>>> Donovan >>>>>> >>>>>> ------------------------------------------------------------- >>>>>> 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 >>>>> digest@talk.smithmicro.com> >>>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>>> >>>>> >>>>> ------------------------------------------------------------- >>>>> 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 >>>> digest@talk.smithmicro.com> >>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>> >>>> >>>> ------------------------------------------------------------- >>>> 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 >>> digest@talk.smithmicro.com> >>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>> >>> ------------------------------------------------------------- >>> 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 >> digest@talk.smithmicro.com> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> >> >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> >> >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- 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: Cart date/time ( John Peacock 2006)
  2. Re: Cart date/time ( "Palle B. Nielsen (PowerPalle)" 2006)
  3. Re: Cart date/time ( John Peacock 2006)
  4. Re: Cart date/time ( "Palle B. Nielsen (PowerPalle)" 2006)
  5. Re: Cart date/time ( Donovan Brooke 2006)
  6. Re: Cart date/time ( "David Bastedo" 2006)
  7. Re: Cart date/time ( Mark Derrick 2006)
  8. Re: Cart date/time ( Stuart Tremain 2006)
  9. Re: Cart date/time ( Marko Bernyk 2006)
  10. Re: Cart date/time ( Marko Bernyk 2006)
  11. Re: Cart date/time ( "Dan Strong" 2006)
  12. Re: Cart date/time ( Marko Bernyk 2006)
  13. Re: Cart date/time ( "Dan Strong" 2006)
  14. Re: Cart date/time ( "Dan Strong" 2006)
  15. Re: Cart date/time ( "Dan Strong" 2006)
  16. Re: Cart date/time ( Stuart Tremain 2006)
  17. Re: Cart date/time ( "Dan Strong" 2006)
  18. Re: Cart date/time ( Donovan Brooke 2006)
  19. Re: Cart date/time ( Stuart Tremain 2006)
  20. Re: Cart date/time ( Donovan Brooke 2006)
  21. Re: Cart date/time ( Stuart Tremain 2006)
  22. Re: Cart date/time ( Marko Bernyk 2006)
  23. Re: Cart date/time ( Stuart Tremain 2006)
  24. Re: Cart date/time ( Mark Derrick 2006)
  25. Re: Cart date/time ( "Dan Strong" 2006)
  26. Re: Cart date/time ( "Dan Strong" 2006)
  27. Re: Cart date/time ( Donovan Brooke 2006)
  28. Re: Cart date/time ( John Peacock 2006)
  29. Re: Cart date/time ( Donovan Brooke 2006)
  30. Re: Cart date/time ( John Peacock 2006)
  31. Re: Cart date/time ( Matthew Bohne 2006)
  32. Re: Cart date/time ( Pat Holliday 2006)
  33. Cart date/time ( Mark Derrick 2006)
My original question related to incoming links which contained Cart variables which didn't have a cart file created for them. To give you an example. (1) Someone visits my site, doesn't add anything to their cart, and then bookmarks a page which contains the Cart ID (2) A year later they use the same bookmark to visit my site, they will then arrive with the original Cart ID, and that will then be used as the Cart ID for the rest of their visit. At the point of arrival, I want to be able to identify Cart ID's (not cart files) which were issued more than 24 hours previously. Hope this clarifies the question. Thanks. Mark. On 29 Mar 2006, at 03:20, Stuart Tremain wrote: > Marko > > You can use [cart] to give you a unique number and provided you do > not put anything into the cart via [setheader] or [addlineitem] a > file will never be produced. > > In Mark's original question he was wanting to find carts that were > more than 24 hours old, therefore he had info stored in them and > were a physical file on the server. To find out how old the files > are you could reverse engineer the [cart] algorithm or simply do as > Donovan suggested: > > [orderfile file=./[cart]] > Cart was created on the day: [date] > and the time: [time] > [/orderfile] > > You can also alter the sweep value in the prefs file if all you > want to do is delete the abandoned cart. > > > > Stuart Tremain > idfk web developments, sydney, australia > > > On 29 Mar 2006, at 12:31 PM, Marko Bernyk wrote: > >> Trying not to step on your toes... but in your use of [cart] it is >> defined in part a)... my use is in Part b) >> >> [cart] >> a) Putting [cart] in your template will automatically create a >> unique shopping cart identifier that can be used in eCommerce >> commands such as Add, Remove, Purchase, etc. If no cart value is >> specified when you arrive at a page, then a new unique value is >> created. If you pass in a cart value in the URL or form >> (propagating the same value from page to page), then that same >> cart value is used throughout the page. >> b) [cart] is also handy for times when you just need a guaranteed- >> unique value somewhere, such as a record identifier or even a >> product SKU. For this reason, [cart] works in Typhoon as well as >> WebCatalog. >> >> -- >> Regards, >> Marko >> >> >> On Wednesday, 29 March 2006 12:28 PM, Marko Bernyk >> wrote: >> Only if you are using the shopping part - and want to create a >> file... >> >> [orderfile file=./[cart]] creates a file with date and time as >> fields.... which I don't want! >> so now I have to delete the files! >> >> Dan good thinking though :) >> >> -- >> Regards, >> Marko >> >> >> On Wednesday, 29 March 2006 12:15 PM, Dan Strong >> wrote: >> Works. Once again, I overthought a solution. >> -Dan >> >> >> On Tue, 28 Mar 2006 17:09:36 -0800 >> "Dan Strong" wrote: >>> Let me see if I understand... if I do the following: >>> >>> [text] myVar=[cart][/text] >>> >>> Then I follow it up with a: >>> >>> [orderfile file=./[cart]] >>> Cart was created on the day: [date]
>>> and the time: [time] >>> [/orderfile] >>> >>> I'll get the correct date/time? I'll test now. >>> -Dan >>> >>> >>> >>> >>> On Tue, 28 Mar 2006 17:04:58 -0800 >>> "Dan Strong" wrote: >>>> Where? >>>> >>>> On Wed, 29 Mar 2006 11:54:50 +1100 >>>> Stuart Tremain wrote: >>>>> If the file is created, the date and time are recorded. >>>>> >>>>> Stuart Tremain >>>>> idfk web developments, sydney, australia >>>>> >>>>> >>>>> On 29 Mar 2006, at 11:59 AM, Dan Strong wrote: >>>>> >>>>>> Unless, of course, someone uses [cart] as a unique ID separate >>>>>> and >>>>>> apart from the e-commerce functions and does not include date & >>>>>> time in the record. >>>>>> -Dan >>>>>> >>>>>> >>>>>>> Yes Stuart, >>>>>>> This is why there is no reason in my mind to reverse engineer >>>>>>> the >>>>>>> CART number.. other than for academics sake. Its already there. >>>>>>> Donovan >>>>>> >>>>>> ------------------------------------------------------------- >>>>>> 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 >>>>> digest@talk.smithmicro.com> >>>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>>> >>>>> >>>>> ------------------------------------------------------------- >>>>> 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 >>>> digest@talk.smithmicro.com> >>>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>>> >>>> >>>> ------------------------------------------------------------- >>>> 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 >>> digest@talk.smithmicro.com> >>>> Web Archive of this list is at: http://webdna.smithmicro.com/ >>> >>> >>> ------------------------------------------------------------- >>> 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 >> digest@talk.smithmicro.com> >>> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> >> >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ >> >> >> >> >> ------------------------------------------------------------- >> 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 > digest@talk.smithmicro.com> >> Web Archive of this list is at: http://webdna.smithmicro.com/ > > > ------------------------------------------------------------- > 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 digest@talk.smithmicro.com> > Web Archive of this list is at: http://webdna.smithmicro.com/ ------------------------------------------------------------- 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/ Mark Derrick

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:

[SearchString] problem with [search] context (1997) SKU lookup (1997) Formating found categories (1997) WebDelivery downloads alias, not original ? (1997) [isfolder] and [filename] (1997) Execute Applescript (1997) PIXO with cometsite ... and/or other plugins (1998) [WebDNA] Advanced search 'rq' problem (2013) Help name our technology! (1997) [ListFiles] context & alias (1997) [WebDNA] Problem running Webdna (2011) Detecting the screen size (2003) unix permissions for 4.0 (2000) [OT] WebStar SSL (2004) GuestBook example (1997) Showif, Hideif reverse logic ? (1997) Expert tech support -- a fast and simple solution (long) ... (2000) WebDNA Running Out of RAM? (2004) rotating thumbnails (1997) Reloading adds items - how to prevent?? (1998)