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. Ithink the existence of the username and password fields may have somethingto do with this problem, but I'm not sure ...I collected most of the field replacement values from a form on theprevious page, and I collected the [user] and [pass] values from a form onthe page prior to that. I used tags in my forms to passall these values thru to the replace template.I know that all these values are getting to the replace template because Ihave them displayed on that page during testing - just to be sure they areall there.My replace context looks like this:[replacedb=xxx.db&equsernamedata=[user]&username=[user]&password=[pass]]fieldValuesHere[/replace]I have the &username=[user]&password=[pass] parameters in the search partof the replace context because from my understanding, they need to be therewhenever I want to replace or delete a record in a database that has bothusername and password fields.Unfortunately, no replace is occurring. The only thing I can think of isthat WebCat2 is trying to use the username and password values that arecached in the browser ... instead of using the [user] and [pass] values I'mtelling 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 Iknow that the username and password values in the browser are differentfrom the [user] and [pass] values collected on my forms.If anyone has any idea of how to fix this, please tell me ... :)Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
Associated Messages, from the most recent to the oldest:
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. Ithink the existence of the username and password fields may have somethingto do with this problem, but I'm not sure ...I collected most of the field replacement values from a form on theprevious page, and I collected the [user] and [pass] values from a form onthe page prior to that. I used tags in my forms to passall these values thru to the replace template.I know that all these values are getting to the replace template because Ihave them displayed on that page during testing - just to be sure they areall there.My replace context looks like this:[replacedb=xxx.db&equsernamedata=[user]&username=[user]&password=[pass]]fieldValuesHere[/replace]I have the &username=[user]&password=[pass] parameters in the search partof the replace context because from my understanding, they need to be therewhenever I want to replace or delete a record in a database that has bothusername and password fields.Unfortunately, no replace is occurring. The only thing I can think of isthat WebCat2 is trying to use the username and password values that arecached in the browser ... instead of using the [user] and [pass] values I'mtelling 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 Iknow that the username and password values in the browser are differentfrom the [user] and [pass] values collected on my forms.If anyone has any idea of how to fix this, please tell me ... :)Sincerely, Ken GromeWebDNA Solutionshttp://www.hui.net/dna/webdna.html
Kenneth Grome
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...