Re: [authenticate]

This WebDNA talk-list message is from

1999


It keeps the original formatting.
numero = 23673
interpreted = N
texte = >I guess I should be more specific about what I am trying to do. > >My site has a database of bibliographic details about journals, a database >of the articles which comprise the journals and a database of subscribers to >either individual articles or complete journals. > >Each entry in the subscriber database has a username and password,and what's the name of the fields for these values? Username and Password? User and Pass? Somehting else?>the entry >contains data which gives the subscriber access to only those journals and >articles for which they have been granted viewing rights.What kind of 'data'? The sku of each item he has access to?>I had thought that I could use the [authenticate] tag to capture the >username and password,Authenticate looks at the username and password value passed from the browser, but it can never be used anywhere else except inside a showif context, and you also have to remember that unless the showif evaluates to False, the authentication dialog box will come up - every time -- preventing you from doing anything else.>which I could then use in a search context to pull up >list of those journals and articles for which the subscriber has viewing >rights. But when I try to build a template with the [authenticate] tag and a >subsequent search context I get the 'Not authorized' error.The solution could be as simple as changing the field names in the subscriber database, or putting [authenticate] inside a showif context, or using a [search] or a [lookup] instead of [authenticate].Why don't you use the built-in users.db instead of a separate subscriptions dabatase, then use the protect tag in your templates?Sincerely, Ken Grome WebDNA Consultant Associated Messages, from the most recent to the oldest:

    
  1. Re: [authenticate] was Re: [TIME] not working ( Terry Wilson 2007)
  2. Re: [authenticate] was Re: [TIME] not working ( Stuart Tremain 2007)
  3. Re: [authenticate] was Re: [TIME] not working ( Donovan Brooke 2007)
  4. Re: [authenticate] was Re: [TIME] not working ( Donovan Brooke 2007)
  5. [authenticate] was Re: [TIME] not working ( sbraun 2007)
  6. Re: [authenticate] (Ron Ceballos 2002)
  7. Re: [authenticate] (Brian Boegershausen 2002)
  8. [authenticate] (Ron Ceballos 2002)
  9. Re: [username],[password] for [authenticate] (Jon Robinson 2001)
  10. Re: [username],[password] for [authenticate] (Brian Fries 2001)
  11. [username],[password] for [authenticate] (Jon Robinson 2001)
  12. Re: [authenticate] (John Butler 2000)
  13. [authenticate] (Kalin Mintchev 2000)
  14. anyone ever find IE pops an [authenticate] when it shouldn't? (John Butler 2000)
  15. Re: possible to oscillate between a [redirect] and [authenticate] every other login attempt? (John Butler 2000)
  16. Re: possible to oscillate between a [redirect] and [authenticate] every other login attempt? (Anup Setty 2000)
  17. possible to oscillate between a [redirect] and [authenticate] every other login attempt? (John Butler 2000)
  18. Re: code below an [authenticate] gets evaluated? (WebDNA Support 2000)
  19. code below an [authenticate] gets evaluated? (John Butler 2000)
  20. Re: Why is [authenticate] not recognizing [username] on all sitedirectories? (John Palmerlee 2000)
  21. Re: Why is [authenticate] not recognizing [username] on all sitedirectories? (JHowarth@smithmicro.com 2000)
  22. Re: Why is [authenticate] not recognizing [username] on all sitedirectories? (John Palmerlee 2000)
  23. Re: Why is [authenticate] not recognizing [username] on all sitedirectories? (John Palmerlee 2000)
  24. Re: Why is [authenticate] not recognizing [username] on all sitedirectories? (Kenneth Grome 2000)
  25. Re: Why is [authenticate] not recognizing [username] on all sitedirectories? (John Palmerlee 2000)
  26. Re: Why is [authenticate] not recognizing [username] on all sitedirectories? (Kenneth Grome 2000)
  27. Re: Why is [authenticate] not recognizing [username] on all sitedirectories? (WebDNA Support 2000)
  28. Why is [authenticate] not recognizing [username] on all site directories? (John Palmerlee 2000)
  29. Re: [authenticate] (PCS Technical Support 1999)
  30. Re: [authenticate] (Kenneth Grome 1999)
  31. Re: [authenticate] (Julian Clayton 1999)
  32. Re: [authenticate] (PCS Technical Support 1999)
  33. Re: [authenticate] (Julian Clayton 1999)
  34. Re: [authenticate] (Dave MacLeay 1999)
  35. [authenticate] (Julian Clayton 1999)
  36. [authenticate] (Julian Clayton 1999)
  37. Re: WebCat2b15MacPlugIn - [authenticate] not [protect] (Kenneth Grome 1997)
  38. Re: WebCat2b15MacPlugIn - [authenticate] not [protect] (Grant Hulbert 1997)
  39. WebCat2b15MacPlugIn - [authenticate] not [protect] (Kenneth Grome 1997)
  40. [authenticate] (Terry Wilson WebD)
>I guess I should be more specific about what I am trying to do. > >My site has a database of bibliographic details about journals, a database >of the articles which comprise the journals and a database of subscribers to >either individual articles or complete journals. > >Each entry in the subscriber database has a username and password,and what's the name of the fields for these values? Username and Password? User and Pass? Somehting else?>the entry >contains data which gives the subscriber access to only those journals and >articles for which they have been granted viewing rights.What kind of 'data'? The sku of each item he has access to?>I had thought that I could use the [authenticate] tag to capture the >username and password,Authenticate looks at the username and password value passed from the browser, but it can never be used anywhere else except inside a showif context, and you also have to remember that unless the showif evaluates to False, the authentication dialog box will come up - every time -- preventing you from doing anything else.>which I could then use in a search context to pull up >list of those journals and articles for which the subscriber has viewing >rights. But when I try to build a template with the [authenticate] tag and a >subsequent search context I get the 'Not authorized' error.The solution could be as simple as changing the field names in the subscriber database, or putting [authenticate] inside a showif context, or using a [search] or a [lookup] instead of [authenticate].Why don't you use the built-in users.db instead of a separate subscriptions dabatase, then use the protect tag in your templates?Sincerely, Ken Grome WebDNA Consultant Kenneth Grome

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:

Encrypt question. (2000) WebCat2b13MacPlugIn - [showif][search][/showif] (1997) Re:Help name our technology! (1997) encryption madness (2003) [OT] (waaaay OT) (2004) 2.1b3 --> way slow (1997) Max Record length restated as maybe bug (1997) WebDNA 4.5.1 Now Available (2003) Date Question (2002) Dr. Watson Error (1998) Webcatalog Future?!? - Was &fieldsdir=ra truely random?? (2000) Associative lookup style? (1997) RE: Re:Has this happened to you? (1997) New Cart No. on same page (2003) WCS Newbie question (1997) Re:2nd WebCatalog2 Feature Request (1996) Re:Item options w/ price adjustment (1997) WCS Newbie question (1997) Error handling for accountNum (1997) Removing Space Characters (1999)