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 admin Username and Password into the web browser's authenticate dialog box for this visit to my website.I want to use those values (my username and password) in the showif/lookup below. The purpose of this is to display the Username and Password of the results record ... but only when *I* am the person visiting this page. I thought this would do it, but it does not. [showif [password]=[lookup db=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 shown you here is OUTSIDE that context. I made sure of this so I could grab *my* username/password values from the web browser instead of the username/password values from the resulting database record ... but it's not working, WebCat appears to NOT be picking up ANY username or password values ...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 password values I entered into the browser's authenticate dialog box. Do you know what I'm doing wrong?Sincerely, Ken Grome ..... ken@iav.com Associated Messages, from the most recent to the oldest:

    
  1. Re: no global [username] or [password] displayed ... (Kenneth Grome 1997)
  2. Re: no global [username] or [password] displayed ... (Grant Hulbert 1997)
  3. Re: no global [username] or [password] displayed ... (Kenneth Grome 1997)
  4. Re: no global [username] or [password] displayed ... (Kenneth Grome 1997)
  5. Re: no global [username] or [password] displayed ... (Grant Hulbert 1997)
  6. no global [username] or [password] displayed ... (Kenneth Grome 1997)
Hi Grant,Here's the situation:I'm in the ADMIN group of the users.db, and I have already entered my admin Username and Password into the web browser's authenticate dialog box for this visit to my website.I want to use those values (my username and password) in the showif/lookup below. The purpose of this is to display the Username and Password of the results record ... but only when *I* am the person visiting this page. I thought this would do it, but it does not. [showif [password]=[lookup db=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 shown you here is OUTSIDE that context. I made sure of this so I could grab *my* username/password values from the web browser instead of the username/password values from the resulting database record ... but it's not working, WebCat appears to NOT be picking up ANY username or password values ...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 password values I entered into the browser's authenticate dialog box. Do you know what 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)