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 MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.toastdesign.com
Associated Messages, from the most recent to the oldest:
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 MarquardtDesigner/Resident WireheadToast Design300 First Avenue North, Suite 150Minneapolis MN 55401612.330.9863 v612.321.9424 fwww.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:
Pithy questions on webcommerce & siteedit (1997)
Fed Ex Rate Charts (2003)
CountChars (2004)
[OT] Templates (For Sale) sites (2004)
listfiles-looking for slick solution (1997)
Generate a SKU (1998)
Range Comparisons (2000)
Encrypting WebDNA Templates (1999)
AutoCommit Preference? (1998)
[OT] DOD again (2003)
Search multiple fields (1997)
WebDNA 5.0 Questions (2003)
SETCOOKIE Tricks (2003)
Webcatalog and foreign languages (1998)
TeaRoom Order fields email account remain empty even though thewy are filled. (1997)
MacOS X Server problems (2001)
webcat NT (1998)
Configuring E-mail (1997)
Re2: frames & carts (1997)
Ampersand (1997)