Re: Delete context run amok

This WebDNA talk-list message is from

2005


It keeps the original formatting.
numero = 60815
interpreted = N
texte = > Phil, I think you are going to have to post your exact code... > Is this delete in a loop..founditems etc?? Also, as John asked, what > are your values being passed? The code in question is hit from a link on a php page: Here is what's on the other end of the link: [!] GETS UID [/!] [showif [getcookie uid]!] [text show=t]uid=[getcookie uid][/text] [/showif] [showif [getcookie uid]=] [text show=t]uid=F[/text] [/showif] [!] SUPPLIES FNO VALUE IF NOT IN URL [/!] [showif [fno]=[raw][fno][/raw]] [text]fno=[lookup db=post.db&lookinfield=rid&value=[rid]&returnfield=xfno][/text] [/showif] [!] SETS PARENT SKU VALUE [/!] [text show=t]sku=[lookup db=post.db&lookinfield=rid&value=[rid]&returnfield=sku][/text] [!] DETERMINES IF FORUM IS SHARED, TO GET THE PSITE RIGHT [/!] [text show=t]shared=[lookup db=site.db&lookinfield=fno&value=[fno]&returnfield=shared][/text] [showif [shared]=T] [text show=f]psite=HOW CO BON ODO MAC SBO[/text] [/showif] [showif [shared]!T] [text show=f]psite=[site][/text] [/showif] [showif [abort]=T] [delete db=post.db&eqriddata=[rid]] [delete db=archive.db&eqriddata=[rid]] [redirect /forums/menunew.tpl?fno=[fno]&uid=[uid]] [/showif] The code above is a copy/paste. There is more below it for other actions (i.e., functions other than abort) that I have left our I believe it's irrelevant. The [rid] value is not user input, it's created by webdna earlier in the process. Here's what it is: [math]{[date]}[/math][math]{[time]}[/math].[random] This couldn't be much simpler. There's no search or loop on the page with the delete context. I am completely stumped. ??? ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Delete context run amok ( Phil Herring 2005)
  2. Re: Delete context run amok ( Donovan Brooke 2005)
  3. Re: Delete context run amok ( devaulw@onebox.com 2005)
  4. Re: Delete context run amok ( John Peacock 2005)
  5. Delete context run amok ( Phil Herring 2005)
> Phil, I think you are going to have to post your exact code... > Is this delete in a loop..founditems etc?? Also, as John asked, what > are your values being passed? The code in question is hit from a link on a php page:
Here is what's on the other end of the link: [!] GETS UID [/!] [showif [getcookie uid]!] [text show=t]uid=[getcookie uid][/text] [/showif] [showif [getcookie uid]=] [text show=t]uid=F[/text] [/showif] [!] SUPPLIES FNO VALUE IF NOT IN URL [/!] [showif [fno]=[raw][fno][/raw]] [text]fno=[lookup db=post.db&lookinfield=rid&value=[rid]&returnfield=xfno][/text] [/showif] [!] SETS PARENT SKU VALUE [/!] [text show=t]sku=[lookup db=post.db&lookinfield=rid&value=[rid]&returnfield=sku][/text] [!] DETERMINES IF FORUM IS SHARED, TO GET THE PSITE RIGHT [/!] [text show=t]shared=[lookup db=site.db&lookinfield=fno&value=[fno]&returnfield=shared][/text] [showif [shared]=T] [text show=f]psite=HOW CO BON ODO MAC SBO[/text] [/showif] [showif [shared]!T] [text show=f]psite=[site][/text] [/showif] [showif [abort]=T] [delete db=post.db&eqriddata=[rid]] [delete db=archive.db&eqriddata=[rid]] [redirect /forums/menunew.tpl?fno=[fno]&uid=[uid]] [/showif] The code above is a copy/paste. There is more below it for other actions (i.e., functions other than abort) that I have left our I believe it's irrelevant. The [rid] value is not user input, it's created by webdna earlier in the process. Here's what it is: [math]{[date]}[/math][math]{[time]}[/math].[random] This couldn't be much simpler. There's no search or loop on the page with the delete context. I am completely stumped. ??? ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://webdna.smithmicro.com/ Phil Herring

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:

Database Program (1997) ShowNext (1997) Weird cart problem (webcat 2.x) (2000) ShowNext (1997) system crashes, event log (1997) [WebDNA] Page names changing (2010) WebCat2 - [format thousands] (1997) [WebDNA] Code works in v6 but not in v7 (2010) state? (2004) Re:E-mailer application times out (1998) .. more on sliding discounts... (1997) RE: Help name our technology! (1997) Enhancement Request for WebCatalog-NT (1996) Problems searching from a FORM (1997) SQL, ODBC and MySql (2002) Bug Report, maybe (1997) WebStar CGI Version (2005) View order not right (1997) Email notification to one of multiple vendors ? (1997) [WriteFile] problems (1997)