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:
dynamic list of form variables (2003)
emailer w/F2 (1997)
WebTen and WebCat (1997)
name of file (2002)
WebCatalog2 Feature Feedback (1996)
A *secret* new webdna tag !!! (1999)
[ConvertChars] problem (1997)
type 2 errors with ssl server (1997)
Help! WebCat2 bug (1997)
hmmm (2006)
One more time (1997)
WebCatalog for Postcards ? (1997)
What am I missing (1997)
Restricting templates from causing havoc (2000)
Emailer errors (1997)
WebDNA Solutions ... (1997)
[Semi-OT] Eaaaaaasy OSX FTP (2003)
i luv formulas! (was Cool! formulas) (1998)
Symantec VIsual Page 1.0.3 (1997)
Error: this shopping cart has already been submitted (2003)