no global [username] or [password] displayed ...
This WebDNA talk-list message is from 1997
It keeps the original formatting.
numero = 11170
interpreted = N
texte = Hi Grant,Here's the situation:I'm in the ADMIN group of the users.db, and I have already entered my adminUsername and Password into the web browser's authenticate dialog box forthis visit to my website.I want to use those values (my username and password) in the showif/lookupbelow. The purpose of this is to display the Username and Password of theresults record ... but only when *I* am the person visiting this page. Ithought this would do it, but it does not.[showif [password]=[lookupdb=users.db&value=[username]&lookinfield=user&returnfield=pass¬found=notFound][foundItems]Username=[username].
Password=[password].[/foundItems][/showif]There is another founditems context on this page, but the html I've shownyou here is OUTSIDE that context. I made sure of this so I could grab *my*username/password values from the web browser instead of theusername/password values from the resulting database record ... but it'snot working, WebCat appears to NOT be picking up ANY username or passwordvalues ...When I put this:Username=[username].
Password=[password].OUTSIDE the founditems loop, this is what's displayed on the page:Username=.Password=.Therefore, it looks like WebCat is NOT picking up the username and passwordvalues I entered into the browser's authenticate dialog box. Do you knowwhat I'm doing wrong?Sincerely, Ken Grome ..... ken@iav.com
Associated Messages, from the most recent to the oldest:
Hi Grant,Here's the situation:I'm in the ADMIN group of the users.db, and I have already entered my adminUsername and Password into the web browser's authenticate dialog box forthis visit to my website.I want to use those values (my username and password) in the showif/lookupbelow. The purpose of this is to display the Username and Password of theresults record ... but only when *I* am the person visiting this page. Ithought this would do it, but it does not.[showif
[password]=[lookupdb=users.db&value=
[username]&lookinfield=user&returnfield=pass¬found=notFound]
[founditems]Username=
[username].
Password=
[password].[/foundItems][/showif]There is another founditems context on this page, but the html I've shownyou here is OUTSIDE that context. I made sure of this so I could grab *my*username/password values from the web browser instead of theusername/password values from the resulting database record ... but it'snot working, WebCat appears to NOT be picking up ANY username or passwordvalues ...When I put this:Username=
[username].
Password=
[password].OUTSIDE the founditems loop, this is what's displayed on the page:Username=.Password=.Therefore, it looks like WebCat is NOT picking up the username and passwordvalues I entered into the browser's authenticate dialog box. Do you knowwhat I'm doing wrong?Sincerely, Ken Grome ..... ken@iav.com
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:
Universal root for WC errors? (1997)
Database Locking?!? (2000)
[OT] See Flash? (2003)
Not really WebCat (1997)
WC2.0 Memory Requirements (1997)
Need help with search title (1998)
Meet your competition (2000)
Calculating days, hours, minutes ago (2004)
Text limits in NT version? (1997)
Search in 2 or more catalogs (1997)
Running 2 two WebCatalog.acgi's (1996)
[BULK] [WebDNA] Anyone using WebDNA7 and Lion Server? (2011)
Conditional searching & displaying (1997)
Search and path arguments (1998)
RE: Netscape v. IE (1997)
Next (1997)
WebCatalog [FoundItems] Problem - LONG - (1997)
[isfile] ? (1997)
Wanted: Broader string manipulation functions (1997)
Clean Code: Rules for inserting keyboard returns? (1997)