Re: [Lookup] on secure page not returning anything

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 26184
interpreted = N
texte = >Good Morning, > >I have secure template that attemtps to do a [lookup] but nothing is >getting returned in >place of that [lookup] tag, not even the value for 'notFound'. >I think it may have something to do with the fact that the path (in >that lookup tag) to >the db it is looking in has to be specially set since the lookup tag >resides on a secure >page. >The secure template lives in the site root (it becomes secure by >virtue of a special URL >that is used to reach the template https....). The db lives in a >directory one level >down. >my lookup is like so- >[lookup db=DBdirectory/Orders.db&lookInField=...] > >is it valid syntax to instead use- >[lookup db=http://www.mydomain/DBdirectory/Orders.db&lookInField=...] No this is invalid but if would be a great feature :-))>? >If I am not on the right track, do you have any suggestions how to >get the lookup to do >its thing? > >-John I think you need to use the lookup tag with the value first like the example in the docs,[LOOKUP db=databasePath&value=searchValue&lookInField=searchField&returnField= fieldName¬Found=TextIfNotFound]Hope this helps.Micheal O Shea Email:micheal@com4u.ch com4u.ch http://www.com4u.ch Breitistrasse 7B PGP key available upon request. CH-5506 Maegenwil Tel: +41 62 896 46 26 Switzerland------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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: [Lookup] on secure page not returning anything (John Butler 2000)
  2. Re: [Lookup] on secure page not returning anything (John Butler 2000)
  3. Re: [Lookup] on secure page not returning anything (Michael O Shea 2000)
  4. [Lookup] on secure page not returning anything (John Butler 2000)
>Good Morning, > >I have secure template that attemtps to do a [lookup] but nothing is >getting returned in >place of that [lookup] tag, not even the value for 'notFound'. >I think it may have something to do with the fact that the path (in >that lookup tag) to >the db it is looking in has to be specially set since the lookup tag >resides on a secure >page. >The secure template lives in the site root (it becomes secure by >virtue of a special URL >that is used to reach the template https....). The db lives in a >directory one level >down. >my lookup is like so- >[lookup db=DBdirectory/Orders.db&lookInField=...] > >is it valid syntax to instead use- >[lookup db=http://www.mydomain/DBdirectory/Orders.db&lookInField=...] No this is invalid but if would be a great feature :-))>? >If I am not on the right track, do you have any suggestions how to >get the lookup to do >its thing? > >-John I think you need to use the lookup tag with the value first like the example in the docs,[LOOKUP db=databasePath&value=searchValue&lookInField=searchField&returnField= fieldName¬Found=TextIfNotFound]Hope this helps.Micheal O Shea Email:micheal@com4u.ch com4u.ch http://www.com4u.ch Breitistrasse 7B PGP key available upon request. CH-5506 Maegenwil Tel: +41 62 896 46 26 Switzerland------------------------------------------------------------- Brought to you by CommuniGate Pro - The Buzz Word Compliant Messaging Server. To end your Mail problems go to .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 Michael O Shea

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:

rotating thumbnails (1997) Summary layout (1997) breaking words (1997) UPS problems (again) (2000) WebCatalog stalls (1998) Bad suffix error (1997) shopping cart bug? or link? (1999) Access and WebDNA (2002) Limiting user access to .tmpl files (1997) frames & carts (1997) form data submission gets truncated (1997) [OT] Ave. Hits Per Day (2006) This list needs a digest: rant, rave... (1997) showif field is number (1997) Duplicate Cart #'s (1998) [sendmail] bug? (2000) encrypt (2000) [SearchString] problem with [search] context (1997) Unusual characters in the db ... (2002) Location of Webcat site in folder hierarchy (1997)