Re: best way to test for the existence of a parameter in a url

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 49852
interpreted = N
texte = We always use[if ([parameter] = [raw][parameter][/raw])]or[showif [parameter]=[raw][parameter][/raw]]----- Original Message ----- From: Howard Wolosky To: WebDNA Talk Sent: Tuesday, April 29, 2003 10:54 AM Subject: Re: best way to test for the existence of a parameter in a url > I'm very partial to this method: > > [if [URL][_user][/URL]=%5B_user%5D]] > [Then] > ... > > At 10:38 AM 4/29/2003, you wrote: > >Hi all, > > > >I am trying to test for the existence of a parameter in the URL. What is > >the best way to do this? > > > >I find it odd that on the same page this works: > > > >[If [formvariables][id1][/formvariables]] > >[Then] > >... > > > >But this does not: > > > >[If [formvariables][--eqskudatarq][/formvariables]] > >[Then] > >... > > > >Basically, I don't care what the value of the parameter is, I just want to > >know if it is there. Oh, and an added benefit would be to check if it has > >some value other than blank ([--eqskudatarq]=). > > > >Thanks. > > > >-lucas > > > > > >------------------------------------------------------------- > >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/ > > > > Howard Wolosky > ------------------------ > howard@wolosky.com > > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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: best way to test for the existence of a parameter in a url (Lucas Rockwell 2003)
  2. Re: best way to test for the existence of a parameter in a url (Donovan 2003)
  3. Re: best way to test for the existence of a parameter in a url (Lucas Rockwell 2003)
  4. Re: best way to test for the existence of a parameter in a url (Donovan 2003)
  5. Re: best way to test for the existence of a parameter in a url (Jay Van Vark 2003)
  6. Re: best way to test for the existence of a parameter in a url (WebCat @ Inkblot Media 2003)
  7. Re: best way to test for the existence of a parameter in a url (Lucas Rockwell 2003)
  8. Re: best way to test for the existence of a parameter in a url (Brian Fries 2003)
  9. Re: best way to test for the existence of a parameter in a url (WebCat @ Inkblot Media 2003)
  10. Re: best way to test for the existence of a parameter in a url (Lucas Rockwell 2003)
  11. Re: best way to test for the existence of a parameter in a url (WebCat @ Inkblot Media 2003)
  12. Re: best way to test for the existence of a parameter in a url (Howard Wolosky 2003)
  13. best way to test for the existence of a parameter in a url (Lucas Rockwell 2003)
We always use[if ([parameter] = [raw][parameter][/raw])]or[showif [parameter]=[raw][parameter][/raw]]----- Original Message ----- From: Howard Wolosky To: WebDNA Talk Sent: Tuesday, April 29, 2003 10:54 AM Subject: Re: best way to test for the existence of a parameter in a url > I'm very partial to this method: > > [if [url][_user][/URL]=%5B_user%5D]] > [Then] > ... > > At 10:38 AM 4/29/2003, you wrote: > >Hi all, > > > >I am trying to test for the existence of a parameter in the URL. What is > >the best way to do this? > > > >I find it odd that on the same page this works: > > > >[If [formvariables][id1][/formvariables]] > >[Then] > >... > > > >But this does not: > > > >[If [formvariables][--eqskudatarq][/formvariables]] > >[Then] > >... > > > >Basically, I don't care what the value of the parameter is, I just want to > >know if it is there. Oh, and an added benefit would be to check if it has > >some value other than blank ([--eqskudatarq]=). > > > >Thanks. > > > >-lucas > > > > > >------------------------------------------------------------- > >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/ > > > > Howard Wolosky > ------------------------ > howard@wolosky.com > > > > ------------------------------------------------------------- > 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/ ------------------------------------------------------------- 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/ WebCat @ Inkblot Media

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:

expired beta (1997) Forms Search Questions (1997) Re:Emailer and encryption (1997) [WebDNA] add hours over 24 (2014) Macauth: Dates and No Scripting... (1997) Re:quit command on NT (1997) Post Limits (1998) Search results templates (1996) Getting total number of items ordered (1997) Nesting format tags (1997) Multiple catalog databases and showcart (1997) Webcat bannersleuth Qs (2001) Execute Applescript (1997) sendmail error (1997) [WebDNA] WebDNA future (2010) How do I get multiple unique numbers on one template? (2000) Plugin or CGI or both (1997) OFF-TOPIC...list serve software for newsletter? (1998) Webcatalog, Webstar and Crasharama (1999) [WebDNA] Math Date issue (2009)