Re: Visitor info

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 30986
interpreted = N
texte = On 4/27/00 2:06 pm, Kenneth Grome so noted...>>>[Append >>>db=counter.db]Date=[date]&Time=[time]&IPaddress=[IPaddress]&Browsername=[Bro >>>wsername][/Append] >>> >>>I tried adding referrer to database but it does not store the referring URL, >>>does anybody have solution for that. >> >>If you have the appropriately named field in your counter.db, adding >> >>&referrerURL=[referrer] > >This will break the append context if there's a & in the [referrer] >value. That's probably why it didn't work properly in the first >place. This is yet another example of why the [referrer] tag, and all >other [value] tags, should be enclosed in [url] contexts. There is a >simple rule that, when put into practice, prevents this problem every >time, with no exceptions: > >Always [url] the values in your webdna context tags.Well, it wouldn't break the append if the [referrer] contained additional values separated by & -- these values would be incorporated into the list of appending pairs and if they didn't match field names in the database, would be ignored. Great potential for confusion, though, if the referrer itself contained values for time or IPaddress in this example.So yes, [url]ling the fields should be standard practice in this or any other case where you're appending data you don't control, but no, it's not what prevented the referrer from being appended to the database.Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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 Associated Messages, from the most recent to the oldest:

    
  1. Re: Visitor info (Rob Marquardt 2000)
  2. Re: Visitor info (Kenneth Grome 2000)
  3. Re: Visitor info (Sue Booher 2000)
  4. Re: Visitor info (Kenneth Grome 2000)
  5. Re: Visitor info (Lee Selvog 2000)
  6. Re: Visitor info (Michael O Shea 2000)
  7. Re: Visitor info (Rob Marquardt 2000)
  8. Re: Visitor info (Lee Selvog 2000)
  9. Re: Visitor info (Michael O Shea 2000)
  10. Visitor info (Lee Selvog 2000)
On 4/27/00 2:06 pm, Kenneth Grome so noted...>>>[Append >>>db=counter.db]Date=[date]&Time=[time]&IPaddress=[ipaddress]&Browsername=[Bro >>>wsername][/Append] >>> >>>I tried adding referrer to database but it does not store the referring URL, >>>does anybody have solution for that. >> >>If you have the appropriately named field in your counter.db, adding >> >>&referrerURL=[referrer] > >This will break the append context if there's a & in the [referrer] >value. That's probably why it didn't work properly in the first >place. This is yet another example of why the [referrer] tag, and all >other [value] tags, should be enclosed in [url] contexts. There is a >simple rule that, when put into practice, prevents this problem every >time, with no exceptions: > >Always [url] the values in your webdna context tags.Well, it wouldn't break the append if the [referrer] contained additional values separated by & -- these values would be incorporated into the list of appending pairs and if they didn't match field names in the database, would be ignored. Great potential for confusion, though, if the referrer itself contained values for time or IPaddress in this example.So yes, [url]ling the fields should be standard practice in this or any other case where you're appending data you don't control, but no, it's not what prevented the referrer from being appended to the database.Rob Marquardt Designer/Resident Wirehead Toast Design800 Washington Avenue North Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.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 Rob Marquardt

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:

RE: [WebDNA] XML Parsing Error Help (2010) Multi-Row Tables from a search. (1997) Dark Horse Comics success story (1997) limitation found on group searching (1997) Shipcost lookup? (1997) [WebDNA] [OT] Apple iPad (2010) WC2b15 File Corruption (1997) Emailer [cart] file names (1997) [MATH] and Dates (1998) WebCat2b13MacPlugIn - syntax to convert date (1997) unsubscribe (1999) Storebuilder (2000) WebCat b13 CGI -shownext- (1997) Shipping still a problem!! (1998) Trouble with Category search (2000) TEXTAREA and sendmail (1998) WebDNA maxing out processor (2008) emailer (1997) multi-paragraph fields (1997) [WebDNA] Successful, working WebDNA7/CentOS install? (2013)