Re: [authenticate]
This WebDNA talk-list message is from 1999
It keeps the original formatting.
numero = 23723
interpreted = N
texte = >I had thought that I could use the [authenticate] tag to capture the>username and password, 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.[Authenticate] will *always* present that password dialog to the user,unless you surround the [Authenticate] tag with a [ShowIf] that hides itunder certain conditions (such as when the username and password have beenfilled out). You can look at the MultiGroupChecker file on your disk tosee what we did to provide the [Protect] feature in WebCatalog.The following will present a dialog id both the username and password areblank (simplistic, but a way to get people to type something in).[ShowIf [username]=] [Authenticate][/ShowIf][ShowIf [password]=] [Authenticate][/ShowIf]Mostly we recommend you use the built-in [protect] features of WebCatalog.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
Associated Messages, from the most recent to the oldest:
>I had thought that I could use the
[authenticate] tag to capture the>username and password, 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.
[authenticate] will *always* present that password dialog to the user,unless you surround the
[authenticate] tag with a
[showif] that hides itunder certain conditions (such as when the username and password have beenfilled out). You can look at the MultiGroupChecker file on your disk tosee what we did to provide the
[protect] feature in WebCatalog.The following will present a dialog id both the username and password areblank (simplistic, but a way to get people to type something in).[ShowIf
[username]=]
[authenticate][/ShowIf][ShowIf
[password]=]
[authenticate][/ShowIf]Mostly we recommend you use the built-in
[protect] features of WebCatalog.Technical Support | ==== eCommerce and Beyond ====Pacific Coast Software | WebCatalog, WebMerchant,11770 Bernardo Plaza Court | SiteEdit Pro, PhotoMaster,San Diego, CA 92128 | Typhoon619/675-1106 Fax: 619/675-0372 | http://www.smithmicro.com/
PCS Technical Support
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:
Paths (1998)
Help! WebCat2 bug (1997)
looking for developers with solutions (2000)
Plain Language Manual? (1998)
WCS Newbie question (1997)
Mystery File (2005)
Show shoppingcart after remove last item (1997)
RE: PIXO support (1997)
UNSUBSCRIBE ME (2004)
[searchString] (1997)
WebCatalog Technical Reference (1997)
RE: Can a database get stomped by simultaneous access? (1997)
RE: WebCat: Access denied, but why? (1997)
Calculate QTY (1998)
problems with 2 tags (1997)
Showing unopened cart (1997)
RE: creating writefile data from a nested search (1997)
WebCatalog/WebMerchant 2.1 (1998)
[WebDNA] New problem with [ShowNext] (2010)
[url] link (1998)