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:

Re:Dumb Question about Docs (1997) I have observed and I am gone. (1998) Webcatalog server support (1997) WebCat2.0 [format thousands .0f] no go (1997) Search with Special Chars (1997) PIXO support (1997) sorting by date (1999) Checkboxes to add to cart... (1998) Showing unopened cart (1997) WebCatalog [FoundItems] Problem - LONG - (1997) shoppingcart reload qty (1997) Re:Emailer tracking (1997) Re: (1998) Robert Minor duplicate mail (1997) Dup cart id on multi browsers running on the same machine-win2k (2001) [WebDNA] Decode Base64 Image (2019) Which Pref is faster? (1998) Re:Virtual hosting and webcatNT (1997) WebCatalog2 Feature Feedback (1996) GIF Converter vs. Clip2Gif (2000)