Re: Using Encrypt/Decrypt

This WebDNA talk-list message is from

2003


It keeps the original formatting.
numero = 55125
interpreted = N
texte = >A question on the mechanics of encrypt/decrypt: > >No problem using a single instance of E/D, but my objective is to >pass an encrypted code from page to page: > >page1.tpl?c=[encrypt seed=1234][somecode][/encrypt] ....... > >decrypt the code on the destination page (this works)... >[decrypt seed=1234][code][/decrypt] >do a search with the decrypted code > >then re-encrypt it to go to the next page, and repeat the process >with each pass. Even if you need to decrypt it in order to use it in the search on the current page, you do NOT have to re-encrypt it again, because the encrypted value is still available in the [c] formvariable. In other words, you can easily pass it to the next page (and every subsequent page) like this: page2.tpl?c=[url][c][/url] By the way, if the passed value is "[c]" and the value you're trying to decrypt is "[code]" then could this be the reason it wasn't working for you? -- Kenneth Grome ------------------------------------------------------------- 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: Using Encrypt/Decrypt ( Kenneth Grome 2003)
  2. Re: Using Encrypt/Decrypt ( Larry Hewitt 2003)
  3. Re: Using Encrypt/Decrypt ( Kenneth Grome 2003)
  4. Re: Using Encrypt/Decrypt ( "Andrew Simpson" 2003)
  5. Using Encrypt/Decrypt ( Larry Hewitt 2003)
>A question on the mechanics of encrypt/decrypt: > >No problem using a single instance of E/D, but my objective is to >pass an encrypted code from page to page: > >page1.tpl?c=[encrypt seed=1234][somecode][/encrypt] ....... > >decrypt the code on the destination page (this works)... >[decrypt seed=1234][code][/decrypt] >do a search with the decrypted code > >then re-encrypt it to go to the next page, and repeat the process >with each pass. Even if you need to decrypt it in order to use it in the search on the current page, you do NOT have to re-encrypt it again, because the encrypted value is still available in the [c] formvariable. In other words, you can easily pass it to the next page (and every subsequent page) like this: page2.tpl?c=[url][c][/url] By the way, if the passed value is "[c]" and the value you're trying to decrypt is "[code]" then could this be the reason it wasn't working for you? -- Kenneth Grome ------------------------------------------------------------- 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/ Kenneth Grome

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:

WebCatalog 4.0.2b5 available (2000) Digest for 4/18/97 (1997) frames & carts (1997) searchable list archive (1997) Truncated Sendmail (1998) Too Much Rootbeer Free Offer (1997) WebCatalog v2.1.1 (1998) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Showif, Hideif reverse logic ? (1997) StoreBuilder Q's (2003) Help name our technology! (1997) NT challenges default admin/admin password (2000) Signal Raised (1997) Bug or syntax error on my part? (1997) View order not right (1997) Dummy Credit Card Number for debug? (1997) Forms Search Questions (1997) Automated FTP from Shell - Update (2004) [CART] (1997) [WebDNA] WebDNA future (2010)