Re: Decrypt Acting Strange With Form
This WebDNA talk-list message is from 2004
It keeps the original formatting.
numero = 55994
interpreted = N
texte = This looks like another infamous problem solved by [url][/url].I can never get my [showif] to work correctly when using [encrypt] or [decrypt] unless using [url]Try this:[formvariables][showif [url][decrypt seed=1234][name][/decrypt][/url]^delete]Delete![/showif][/formvariables]Matthew Perosiijo.comnj-singles.comJustin Carroll wrote:>This code is supposed to check for encrypted variables in the query string:>>[formvariables]>[showif [decrypt seed=1234][name][/decrypt]^delete]>Delete!>[/showif]>[/formvariables]>>This code is on the same page as a form with one textbox and one submit button.>>When the page is first accessed this doesn't show "Delete!"; however, when a user hits the submit button on the form, "Delete!" shows up. There is nothing in the query string. There are no variables in the form that contain "delete". Why does it show up?>>When I debug and show what [decrypt seed=1234][name][/decrypt] actually returns, it returns this: \?yż1}2 If I just see what [name] is it returns the name of the only textbox in my form, txtKeyword.>>Basically the code is acting as if that string of characters contains the word "delete" when it doesn't. Can anyone make sense of this?>>Justin Carroll>>>>------------------------------------------------------------->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:
This looks like another infamous problem solved by [url][/url].I can never get my [showif] to work correctly when using [encrypt] or [decrypt] unless using [url]Try this:[formvariables][showif [url][decrypt seed=1234][name][/decrypt][/url]^delete]Delete![/showif][/formvariables]Matthew Perosiijo.comnj-singles.comJustin Carroll wrote:>This code is supposed to check for encrypted variables in the query string:>>[formvariables]>[showif [decrypt seed=1234][name][/decrypt]^delete]>Delete!>[/showif]>[/formvariables]>>This code is on the same page as a form with one textbox and one submit button.>>When the page is first accessed this doesn't show "Delete!"; however, when a user hits the submit button on the form, "Delete!" shows up. There is nothing in the query string. There are no variables in the form that contain "delete". Why does it show up?>>When I debug and show what [decrypt seed=1234][name][/decrypt] actually returns, it returns this: \?yż1}2 If I just see what [name] is it returns the name of the only textbox in my form, txtKeyword.>>Basically the code is acting as if that string of characters contains the word "delete" when it doesn't. Can anyone make sense of this?>>Justin Carroll>>>>------------------------------------------------------------->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/
Matthew A Perosi
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:
WebCatalog2 Feature Feedback (1996)
DON'T use old cart file! (1997)
writing checkboxes to a database (2000)
Pref settings? (1998)
Replace with Producteditor.tpl (2000)
Credit card types (1997)
Help!!!! Purchases not going through! (1997)
Emailer help....! (1997)
EIMS Problems (1997)
mass mailing (1998)
Generating unique SKU from [cart] (1997)
verify online (1997)
CART question (2004)
installing webcatalog problem. HELP! (1998)
off topic fetch vs PCS photomaster (1997)
Time Until (1999)
[showif] with ! (2000)
Format question WC Mac f3 (1997)
WebCat2 Append problem (B14Macacgi) (1997)
[OT] Industry standard for missing orders (2003)