Re: Replace context problem ...

This WebDNA talk-list message is from

1997


It keeps the original formatting.
numero = 12527
interpreted = N
texte = At 11:37 PM -1000 7/16/97, Kenneth Grome altered the fabric of cyberspace, writing:Hi Ken,It seems that you have run into the problem I had the other day regarding $Delete. I wanted to have an 'Admin Delete' function to delete records enter by someone else.Useing some [ShowIf] stuff to just show it to my domain, I added a liknk that contained the user/pass combo that had been picked up by the search of the record.Admin Delete> 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 was going to use this approach of a form with hidden fields also, however, it then passed the usr/pass combo with the values in the succeding url, exposing that information.> 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] >Perhaps changing to:[replace db=xxx.db&SKUdata=[SKU]&username=[username]&password=[password]]fieldValuesHere[ /replace]would make the differance.I know that in the 'Classifieds' example, the methiod of authentacating the record owner is used. Perhaps that would be of some help.Not sure that I have been any help ...<--Glenn-->~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Glenn & Renee Davis Exclusively Web / Net Highway (916) 887-0678 Web Page Design / Hosting Services POB 157, Cool,CA 95614-0157 http://www.ExclusivelyWeb.com http://www.Net-Hwy.com &&& ||| (@ @) (@ @) ----------------------------ooO---U---Ooo---------------ooO--(_)--Ooo------->> Mailto:renee@Net-Hwy.com Mailto:glenn@Net-Hwy.com Mailto:renee@ExclusivelyWeb.com Mailto:glenn@ExclusivelyWeb.com Graphics Design Webmaster 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)
At 11:37 PM -1000 7/16/97, Kenneth Grome altered the fabric of cyberspace, writing:Hi Ken,It seems that you have run into the problem I had the other day regarding $Delete. I wanted to have an 'Admin Delete' function to delete records enter by someone else.Useing some [showif] stuff to just show it to my domain, I added a liknk that contained the user/pass combo that had been picked up by the search of the record.[username]&password=[pa ssword]>Admin Delete> 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 was going to use this approach of a form with hidden fields also, however, it then passed the usr/pass combo with the values in the succeding url, exposing that information.> 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] >Perhaps changing to:[replace db=xxx.db&SKUdata=[SKU]&username=[username]&password=[password]]fieldValuesHere[ /replace]would make the differance.I know that in the 'Classifieds' example, the methiod of authentacating the record owner is used. Perhaps that would be of some help.Not sure that I have been any help ...<--Glenn-->~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Glenn & Renee Davis Exclusively Web / Net Highway (916) 887-0678 Web Page Design / Hosting Services POB 157, Cool,CA 95614-0157 http://www.ExclusivelyWeb.com http://www.Net-Hwy.com &&& ||| (@ @) (@ @) ----------------------------ooO---U---Ooo---------------ooO--(_)--Ooo------->> Mailto:renee@Net-Hwy.com Mailto:glenn@Net-Hwy.com Mailto:renee@ExclusivelyWeb.com Mailto:glenn@ExclusivelyWeb.com Graphics Design Webmaster Glenn Davis

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:

Subject: Any Newsletters out there (1998) Fwd: Email Problems on 4.0 (2000) [FileInfo] strangeness (1998) Some ThankYou page problems (1997) with Link i need to (1997) Answer: WebDelivery downloads alias, not original ? (1997) WebCatalog 2.0 b 15 mac (1997) Web Catalog vs. ICAT (1997) Dynamic PDFs? (2002) bannerads (1998) type 2 errors with ssl server (1997) Nesting format tags (1997) ShowNext (1997) WebCat2 - [format thousands] (1997) Encyption mail was Suggestions for Topics ... (1998) WebCat for Unix?? (1997) Listserver problem (1997) RAM variables (1997) Security hole in WebCat? (1999) [showif] not working (2003)