Help with Lookup
This WebDNA talk-list message is from 2001
It keeps the original formatting.
numero = 39268
interpreted = N
texte = Hello all,I am trying to get this to work, without success.[text]cook=[GetCookie name=Interchill-ID][/text][text]cart=[lookup db=subscribers.db&lookinfield=COOKIE&value=[cook]&returnfield=SKU¬found=[cart][/text][interpret][cart][/interpret] at the end doesnąt work either.If a cookie exists lookup should find cart number from db, if not providenew one. Well that was the plan...Then my next line repeats the lookup (backwards) in a poor attempt todetermine if Webcat has issued a new cart or not.[hideif [lookup db=subscribers.db&lookinfield=SKU&value=[cart]&returnfield=COOKIE¬found=NEW_USER]=NEW_USER][text]action=display[/text][/hideif]The objective of this is to route existing customers (with Cookie) usingAction=displayCan anyone help with a simpler solution for this same end. I'm sufferingfrom screen haze!-- Edell & Co. Ltd.T 01857 644 256F 01857 644 257-------------------------------------------------------------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://search.smithmicro.com/
Associated Messages, from the most recent to the oldest:
| |
- Help with Lookup (p
2001)
|
Hello all,I am trying to get this to work, without success.[text]cook=[GetCookie name=Interchill-ID][/text][text]cart=[lookup db=subscribers.db&lookinfield=COOKIE&value=[cook]&returnfield=SKU¬found=[cart][/text][interpret][cart][/interpret] at the end doesnąt work either.If a cookie exists lookup should find cart number from db, if not providenew one. Well that was the plan...Then my next line repeats the lookup (backwards) in a poor attempt todetermine if Webcat has issued a new cart or not.[hideif [lookup db=subscribers.db&lookinfield=SKU&value=[cart]&returnfield=COOKIE¬found=NEW_USER]=NEW_USER][text]action=display[/text][/hideif]The objective of this is to route existing customers (with Cookie) usingAction=displayCan anyone help with a simpler solution for this same end. I'm sufferingfrom screen haze!-- Edell & Co. Ltd.T 01857 644 256F 01857 644 257-------------------------------------------------------------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://search.smithmicro.com/
p
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:
Help w/ Duplicating The General Store 5 times. (1997)
Mauthonly followed by mauthcapture (2002)
Hiding HTML and breaking the page (1997)
[OT] DNS on Development Server (2004)
Ok here is a question? (1997)
Math Enhancement Request (2004)
WebCatalog for guestbook ? (1997)
Cyberstudio and WebDNA (1997)
webcat NT (1998)
[WebDNA] Rewrite url (2013)
problems with WebCat-Plugin (1997)
Re:Authenticate (1998)
[ShowNext] feature in 2.0 (1997)
Version 4? (2000)
Odd [math] behaviour (2003)
Redirect and Window Size (2000)
WebCatalog 4.0 has been released! (2000)
TCPConnect is a problem for me (2002)
Download URL & access on the fly ? (1997)
emailer (1997)