Re: Problem with empty form-variables in [search]

This WebDNA talk-list message is from

1998


It keeps the original formatting.
numero = 16088
interpreted = N
texte = On 2/19/98 5:58 PM, Matthias Precht so noted...>But if I want to find a user with the following context > >[search >db=datenbanken/mitspieler.db&&eqemaildatarq=[email]&eqpasswortdatarq=[Pass >]&allreqd=T] > >the user does not need to enter his password to be found. If the password >is wrong, the record won't be found. But if the user leaves the >Pass-field blank, it is found (it should not!). >And if a user guesses a password of one another, there is a record to be >found also. >Is this a Bug or a feature? How can I get this thing running correctly?Try this...[search db=datenbanken/mitspieler.db&eqEmailDataRq=[email]&eqPasswortDataRq=[pass]& PassBlnk=T&EmailBlnk=T]You shouldn't need allreqd=T since you're specifying rq for each. I don't know if the double ampersand && would cause problems or just be ignored. And is passwort the name of the field, or should it be password? (sorry, I don't know German : )(p.s. to list: would allBlnk=T be a valid parameter?)Hope this is of help,Rob Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Associated Messages, from the most recent to the oldest:

    
  1. Re: Problem with empty form-variables in [search] (Grant Hulbert 1998)
  2. Problem with empty form-variables in [search] (Matthias Precht 1998)
  3. Re: Problem with empty form-variables in [search] (Rob Marquardt 1998)
On 2/19/98 5:58 PM, Matthias Precht so noted...>But if I want to find a user with the following context > >[search >db=datenbanken/mitspieler.db&&eqemaildatarq=[email]&eqpasswortdatarq=[Pass >]&allreqd=T] > >the user does not need to enter his password to be found. If the password >is wrong, the record won't be found. But if the user leaves the >Pass-field blank, it is found (it should not!). >And if a user guesses a password of one another, there is a record to be >found also. >Is this a Bug or a feature? How can I get this thing running correctly?Try this...[search db=datenbanken/mitspieler.db&eqEmailDataRq=[email]&eqPasswortDataRq=[pass]& PassBlnk=T&EmailBlnk=T]You shouldn't need allreqd=T since you're specifying rq for each. I don't know if the double ampersand && would cause problems or just be ignored. And is passwort the name of the field, or should it be password? (sorry, I don't know German : )(p.s. to list: would allBlnk=T be a valid parameter?)Hope this is of help,Rob Marquardt Designer/Resident Wirehead Toast Design300 First Avenue North, Suite 150 Minneapolis MN 55401 612.330.9863 v 612.321.9424 f www.toastdesign.com Rob Marquardt

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:

Extended [ConvertChars] (1997) Search Via a drop down menu? (2000) PhotoMill -> PhotoMaster (1997) docs for WebCatalog2 (1997) Possible Bug in 2.0b15.acgi (1997) Sendmail question [Newbie] (1999) [WebDNA] Brian Harrington (2019) I'm new be kind (1997) SiteEdit Pro Update Announcement (1997) [WebDNA] Clean URLS job - will pay (2010) [Announce] Newest Commerce Site based on WebCatalog (1997) Ongoing group search problems ... (1997) RE: WebDNA-Talk searchable? (1997) Fwd: more ! testing (1997) Emailer (1997) Deleting Orders (1998) Problems with [Applescript] (1997) Moment of Thanks (1997) WebCat2b13MacPlugIn - [include] (1997) .html processing? (1998)