Re: [WebDNA] What am I doing wrong with authenticate

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109119
interpreted = N
texte = Steve Craig wrote: > Hi > > I am re-using a piece of already working code on a new page and for some reason it is not working, I just need a second pair of eyes to have a look and see what my mistake is. All I have changed is the path to the DB and the realm name. > > [showif [username]=][authenticate realm=myRealmName][/showif] > [showif [username]!] > [search db=/admin/-myDatabase.db&eqUSERNAMEVARdatarq=[username]] > [showif [numfound]=0][authenticate realm=myRealmName][/showif] > [founditems] > [showif [index]=1] > [hideif [password]=[passwordvar]][authenticate realm=myRealmName][/hideif] >  > All my page html here > > [/showif] > [/founditems] > [/search] > [/showif] > > Any help would be much appreciated. > > Cheers Hi Steve, is the absolute path in the .db correct? What is the value of [username]? Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] What am I doing wrong with authenticate (Govinda 2012)
  2. Re: [WebDNA] What am I doing wrong with authenticate (Steve Craig 2012)
  3. Re: [WebDNA] What am I doing wrong with authenticate (Govinda 2012)
  4. Re: [WebDNA] What am I doing wrong with authenticate (Steve Craig 2012)
  5. Re: [WebDNA] What am I doing wrong with authenticate (Donovan Brooke 2012)
  6. Re: [WebDNA] What am I doing wrong with authenticate (Steve Craig 2012)
  7. [WebDNA] What am I doing wrong with authenticate (Steve Craig 2012)
Steve Craig wrote: > Hi > > I am re-using a piece of already working code on a new page and for some reason it is not working, I just need a second pair of eyes to have a look and see what my mistake is. All I have changed is the path to the DB and the realm name. > > [showif [username]=][authenticate realm=myRealmName][/showif] > [showif [username]!] > [search db=/admin/-myDatabase.db&eqUSERNAMEVARdatarq=[username]] > [showif [numfound]=0][authenticate realm=myRealmName][/showif] > [founditems] > [showif [index]=1] > [hideif [password]=[passwordvar]][authenticate realm=myRealmName][/hideif] >  > All my page html here > > [/showif] > [/founditems] > [/search] > [/showif] > > Any help would be much appreciated. > > Cheers Hi Steve, is the absolute path in the .db correct? What is the value of [username]? Donovan -- Donovan Brooke WebDNA Software Corporation http://www.webdna.us **[Square Bracket Utopia]** Donovan Brooke

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:

WebCat editing, SiteGuard WAS:SiteAssociative lookup style? (1997) NewCart+Search with one click ? (1997) [WebDNA] Error 500 with SUMM=T (2017) shipping help (1998) Can't add a field (1998) WebDNA and SQL (2003) Dummy Credit Card Number for debug? (1997) simple answer? [hideif] (1997) WebCatalog NT (1996) problem: search crashes webstar (1997) Multiple prices (1997) multiple search commands (1997) WebCatalog Use Question (1997) Here's an example of an applet in a tpl (1997) [FoundItems] solved - thanks (1997) OT: zipcodes (2002) Help name our technology! (1997) ShipCosts database (1997) Nested vs conditional (1997) Refresh cart# (1999)