Re: WebCat2 - Getting to the browser's username/password data

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 10274
interpreted = N
texte = >>Aparently the only way right now for WebCat2 to get the [username] and >>[password] data from the browser (instead of from the database) while >>inside a [founditems] context is to create variables while *outside* of a >>[founditems] context ... such as v.browserUsername=[username] and >>v.browserPassword=[password] ... > >Unfortunately you can't just set the value of a string variable like that. >The solution might be to use a parameterized include to pass the variables >thru.I just checked this in the docs, because I had never used [include] before ... but it sure looks simple. I guess using [include] like this would do the same thing as naming a new variable in a hyperlink ... but with [include it is hidden because it's in the form instead of being in a link which is always visible in the browser ...Actually I do remember trying [include] earlier but it didn't seem to include the designated file so I forgot about it. Was there an [include] problem in an earlier version of the CGI or plugin that's fixed now?>>Is it possible to have more than one [founditems] >>context in a template when they are *not* nested? > >You mean several places where exactly the same list of found records is to >be listed?Yes, that's exactly what I mean ... :)>Sure. As many as you want.Okay then, this makes life a lot easier! This means my response at the top of theis message is wrong, there is a much easier way to get the browser's [password] value. All I should have to do while in a [founditems] context would be to put a:[/founditems] [password] [founditems]into my existing templates wherever I need the *browser's* password instead of the *database* password value. And if my [founditems] context is nested in another [founditems] context, all I would need to do is get slightly more complicated, such as:[/founditems] [/founditems] [password] [founditems] [founditems]This ought to work, right?Sincerely, Ken Associated Messages, from the most recent to the oldest:

    
  1. Re: WebCat2 - Getting to the browser's username/password data (Kenneth Grome 1997)
  2. Re: WebCat2 - Getting to the browser's username/password data (Grant Hulbert 1997)
  3. Re: WebCat2 - Getting to the browser's username/password data (Kenneth Grome 1997)
  4. Re: WebCat2 - Getting to the browser's username/password data (Grant Hulbert 1997)
  5. Re: WebCat2 - Getting to the browser's username/password data (Kenneth Grome (by way of Grant Hulbert) 1997)
>>Aparently the only way right now for WebCat2 to get the [username] and >>[password] data from the browser (instead of from the database) while >>inside a [founditems] context is to create variables while *outside* of a >>[founditems] context ... such as v.browserUsername=[username] and >>v.browserPassword=[password] ... > >Unfortunately you can't just set the value of a string variable like that. >The solution might be to use a parameterized include to pass the variables >thru.I just checked this in the docs, because I had never used [include] before ... but it sure looks simple. I guess using [include] like this would do the same thing as naming a new variable in a hyperlink ... but with [include it is hidden because it's in the form instead of being in a link which is always visible in the browser ...Actually I do remember trying [include] earlier but it didn't seem to include the designated file so I forgot about it. Was there an [include] problem in an earlier version of the CGI or plugin that's fixed now?>>Is it possible to have more than one [founditems] >>context in a template when they are *not* nested? > >You mean several places where exactly the same list of found records is to >be listed?Yes, that's exactly what I mean ... :)>Sure. As many as you want.Okay then, this makes life a lot easier! This means my response at the top of theis message is wrong, there is a much easier way to get the browser's [password] value. All I should have to do while in a [founditems] context would be to put a:[/founditems] [password] [founditems]into my existing templates wherever I need the *browser's* password instead of the *database* password value. And if my [founditems] context is nested in another [founditems] context, all I would need to do is get slightly more complicated, such as:[/founditems] [/founditems] [password] [founditems] [founditems]This ought to work, right?Sincerely, Ken 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:

re: emailer prob (1998) [WebDNA] Error 500 with SUMM=T (2017) Location of Browser Info.txt file (1997) [carts] and databases (1997) Appending Information from one db to another (1998) Can webcat 3.0/4.0 handle 1,000,000 hits a day? (2000) WebCatalog can't find database (1997) Grep support request for SMSI ... (2003) 2.0Beta Command Ref (can't find this instruction) (1997) PCS Emailer's role ? (1997) WebCatalog for guestbook ? (1997) [isfolder] and [filename] (1997) stumped (2001) Nested [SEARCH] and [REPLACE] problem. (1997) WebCatalog Work (2001) [SearchString] usage (1997) Can a database get stomped by simultaneous access? (1997) Secure server question (1997) Migrating From One Server To Another (2003) blank page from template (1997)