Re: locking variables?

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 28860
interpreted = N
texte = > >> You can use [FormVariables] at the top of the page to examine which >> variables are being overridden by the incoming GET, and put up an >> error message or redirect back to the same page without those >> particular form variables. We realize the current behavior is not >>optimal, and we're revisiting it for 4.0. > >Will the SM Sado-Masochists post an example of exactly how to do that or do >you plan to let us reinvent the wheel...as usual? > > Whats with the attitude Glenn?? This is not hard to do. You know what the names of the variables are on this page right? The ones you want to set anyhow, so, just do this.Use formvariables to examine the incoming variables and if any exist that have the same name you want to use, hide the rest of the page and give an error.ie.You want to use these variables on your page: var1 and var2some loser who deserves to get a messed up result from doing this, decides to add var1=this&var2=that to the end of the URL to this page.So you do this.[Formvariables] [showif [name]=var1]Hey Loser, quit screwing with my URL's I need to use the variable [name] on this page for something else. [/showif] [showif [name]=var2]Hey Loser, quit screwing with my URL's, I need to use the variable [name] on this page for something else.[/showif] [/formvariables]Since I am also a Sado-Masochist, I will leave it up to you to reinvent how to hide the rest of the page =)Let me know if you any more assistance.- Charles------------------------------------------------------------- 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 Associated Messages, from the most recent to the oldest:

    
  1. Re: locking variables? (Kenneth Grome 2000)
  2. Re: locking variables? (Charles Kline 2000)
  3. Re: locking variables? (WebDNA Support 2000)
  4. Re: locking variables? (Glenn Busbin 2000)
  5. Re: locking variables? (Charles Kline 2000)
  6. Re: locking variables? (Jereme Claussen 2000)
  7. Re: locking variables? (Glenn Busbin 2000)
  8. Re: locking variables? (Kenneth Grome 2000)
  9. Re: locking variables? (Kenneth Grome 2000)
  10. Re: locking variables? (WebDNA Support 2000)
  11. Re: locking variables? (Jereme Claussen 2000)
  12. Re: locking variables? (Kenneth Grome 2000)
  13. Re: locking variables? (John Butler 2000)
  14. Re: locking variables? (WebDNA Support 2000)
  15. Re: locking variables? (Kenneth Grome 2000)
  16. locking variables? (Jereme Claussen 2000)
> >> You can use [formvariables] at the top of the page to examine which >> variables are being overridden by the incoming GET, and put up an >> error message or redirect back to the same page without those >> particular form variables. We realize the current behavior is not >>optimal, and we're revisiting it for 4.0. > >Will the SM Sado-Masochists post an example of exactly how to do that or do >you plan to let us reinvent the wheel...as usual? > > Whats with the attitude Glenn?? This is not hard to do. You know what the names of the variables are on this page right? The ones you want to set anyhow, so, just do this.Use formvariables to examine the incoming variables and if any exist that have the same name you want to use, hide the rest of the page and give an error.ie.You want to use these variables on your page: var1 and var2some loser who deserves to get a messed up result from doing this, decides to add var1=this&var2=that to the end of the URL to this page.So you do this.[formvariables] [showif [name]=var1]Hey Loser, quit screwing with my URL's I need to use the variable [name] on this page for something else. [/showif] [showif [name]=var2]Hey Loser, quit screwing with my URL's, I need to use the variable [name] on this page for something else.[/showif] [/formvariables]Since I am also a Sado-Masochist, I will leave it up to you to reinvent how to hide the rest of the page =)Let me know if you any more assistance.- Charles------------------------------------------------------------- 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 Charles Kline

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:

Multiple radio buttons (1998) well sort of - database design (2003) PCS Customer submissions ? (1997) Keep away (1997) [WriteFile] problems (1997) [showif] / [hideif] (1997) Re[2]: WebCat is different user (1999) date (1999) CommandSecurity? (1997) Add - optional parameters textA=.... (1997) Inventory Debit Procedure (1998) suffix mapping for NT? (1997) RE: is sku a REQUIRED field on NT (1997) Frames and [cart] (1998) Webcat 2.0.1 date math bug -> Crash! (1997) Secure server question (1997) Requiring that certain fields be completed (1997) [WebDNA] Cookie behavior (2010) calculating tax rates, mail order solutions and version 2 (1997) Where's the POP3 example? (2005)