Replace context problem ...

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12496
interpreted = N
texte = I am trying to replace some data in a record by using a replace context, but it doesn't work. I have username and password fields in my database. I think the existence of the username and password fields may have something to do with this problem, but I'm not sure ...I collected most of the field replacement values from a form on the previous page, and I collected the [user] and [pass] values from a form on the page prior to that. I used tags in my forms to pass all these values thru to the replace template.I know that all these values are getting to the replace template because I have them displayed on that page during testing - just to be sure they are all there.My replace context looks like this:[replace db=xxx.db&equsernamedata=[user]&username=[user]&password=[pass]]fieldValuesHere[ /replace]I have the &username=[user]&password=[pass] parameters in the search part of the replace context because from my understanding, they need to be there whenever I want to replace or delete a record in a database that has both username and password fields.Unfortunately, no replace is occurring. The only thing I can think of is that WebCat2 is trying to use the username and password values that are cached in the browser ... instead of using the [user] and [pass] values I'm telling it to use in the search part of my replace context above.I don't know how to test this to see if that's what is happening, but I know that the username and password values in the browser are different from the [user] and [pass] values collected on my forms.If anyone has any idea of how to fix this, please tell me ... :)Sincerely, Ken Grome WebDNA Solutionshttp://www.hui.net/dna/webdna.html Associated Messages, from the most recent to the oldest:

    
  1. Re: Replace context problem ... (Glenn Davis 1997)
  2. Re: Replace context problem ... (Kenneth Grome 1997)
  3. Re: Replace context problem ... (Glenn Davis 1997)
  4. Replace context problem ... and answers (Kenneth Grome 1997)
  5. Replace context problem ... (Kenneth Grome 1997)
I am trying to replace some data in a record by using a replace context, but it doesn't work. I have username and password fields in my database. I think the existence of the username and password fields may have something to do with this problem, but I'm not sure ...I collected most of the field replacement values from a form on the previous page, and I collected the [user] and [pass] values from a form on the page prior to that. I used tags in my forms to pass all these values thru to the replace template.I know that all these values are getting to the replace template because I have them displayed on that page during testing - just to be sure they are all there.My replace context looks like this:[replace db=xxx.db&equsernamedata=[user]&username=[user]&password=[pass]]fieldValuesHere[ /replace]I have the &username=[user]&password=[pass] parameters in the search part of the replace context because from my understanding, they need to be there whenever I want to replace or delete a record in a database that has both username and password fields.Unfortunately, no replace is occurring. The only thing I can think of is that WebCat2 is trying to use the username and password values that are cached in the browser ... instead of using the [user] and [pass] values I'm telling it to use in the search part of my replace context above.I don't know how to test this to see if that's what is happening, but I know that the username and password values in the browser are different from the [user] and [pass] values collected on my forms.If anyone has any idea of how to fix this, please tell me ... :)Sincerely, Ken Grome WebDNA Solutionshttp://www.hui.net/dna/webdna.html 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:

[OT] HTML EMAIL program wanted (1999) Emailer (1997) Simple Database close connection (2001) Cancel Subscription (1996) RE: PIXO support (1997) Uh...can someone help me out with the b10? (1997) [FoundItems] solved - thanks (1997) Paramater Passing Value (2002) Help name our technology! I found it (1997) HELP! Search finding too much! (1998) Change in Host? (1999) Running 2 two WebCatalog.acgi's (1996) OT - royalty free images (2002) [WebDNA] Styling search results [using css] (2009) Error, 101 a DNS problem ? (1997) WC --> printer (1998) [WebDNA] 3-5 GB of native WebDNA db in RAM?, else MySQL w/WebDNA [SQL] tags, else skip WebDNA altogether? (2009) [lineitems] and [writefile] (1998) Re:Emailer and encryption (1997) Just Testing (1997)