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:
WebCat2b15MacPlugIn - [authenticate] not [protect] (1997)
Maximum Found Items (2000)
WebCommerce: Folder organization ? (1997)
06/06/2000 bug warning ... (2000)
[SearchString] usage (1997)
Been meaning to ask... (1997)
problems with 2 tags (1997)
Interfacing WebMerchant to www.fedex.com (1997)
Preventing code execution (2003)
Help formatting search results w/ table (1997)
test (2002)
Webstar SSL and Non-SSL question (1998)
Blog Software (2006)
emailer (1997)
serial number dishing (1997)
[ShowIf] if the varieable exists (1998)
Setting up shop (1997)
Strange search... (2000)
Google does it... can WebDNA? Showing only the section (2003)
RAM variables (1997)