Re: Encrypt question.

This WebDNA talk-list message is from

2000


It keeps the original formatting.
numero = 33968
interpreted = N
texte = First you should get rid of the [uppercase] context in the setcookie tag. Not only do you not need it, but using it makes it impossible to UN-uppercase the resulting value ... and you must be able to undo each step you performed before setting the cookie value if you expect to retrieve the original [__pass] value later ...Next, please think about this for a moment: If you take a value like [__pass] and do two things to it: 1- encrypt 2- urlThen the *proper* way to reverse those steps is: 1- unurl 2- decrypt... right? But you tried it backwards, you did this instead: 1- decrypt 2- unurlIn other words, you need to unurl before decrypting, not after.>Yes your right but my problem still remains. > >page 1:[SETCOOKIE >name=pas&value=[url][encrypt][uppercase][__pass][/uppercase][/encrypt][/url]&expires=&path=/&domain=[domain_is]] > >page 2: [GETCOOKIE name=pas]=[unurl][decrypt][GETCOOKIE >name=pas][/decrypt][/unurl] > >What I get on page 2 is ?î˜>2©ˆ= the part on the right of the >= is empty??? > >Kenneth Grome wrote: > >> > [SETCOOKIE >> >name=pas&value=[url][encrypt][uppercase][__pass][/uppercase][/encrypt][/url]&expires=&path=/&domain=[domain_is] >> > >> >next page >> > >> >[GETCOOKIE >> >name=pas&value=[unurl][decrypt][uppercase][__pass][/uppercase][/decrypt][/unurl]] >> >> Your getcookie syntax is wrong. Try starting with a simple [GETCOOKIE >> name=pas] tag, then wrap it in the proper contexts to 'undo' what you >> did when you modified the original [__pass] value ... >> >> ================================ >> Kenneth Grome, WebDNA Consultant >> 808-737-6499 http://webdna.net >> ================================ >> >> ------------------------------------------------------------- >> 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://search.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://search.smithmicro.com/================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: Encrypt question. (MARC MALACARME 2000)
  2. Re: Encrypt question. (Kenneth Grome 2000)
  3. Re: Encrypt question. (Marc 2000)
  4. Re: Encrypt question. (John Butler 2000)
  5. Re: Encrypt question. (John Butler 2000)
  6. Re: Encrypt question. (MARC MALACARME 2000)
  7. Re: Encrypt question. (James Howarth 2000)
  8. Re: Encrypt question. (Kenneth Grome 2000)
  9. Re: Encrypt question. (MARC MALACARME 2000)
  10. Re: Encrypt question. (Kenneth Grome 2000)
  11. Re: Encrypt question. (MARC MALACARME 2000)
  12. Re: Encrypt question. (Kenneth Grome 2000)
  13. Encrypt question. (MARC MALACARME 2000)
First you should get rid of the [uppercase] context in the setcookie tag. Not only do you not need it, but using it makes it impossible to UN-uppercase the resulting value ... and you must be able to undo each step you performed before setting the cookie value if you expect to retrieve the original [__pass] value later ...Next, please think about this for a moment: If you take a value like [__pass] and do two things to it: 1- encrypt 2- urlThen the *proper* way to reverse those steps is: 1- unurl 2- decrypt... right? But you tried it backwards, you did this instead: 1- decrypt 2- unurlIn other words, you need to unurl before decrypting, not after.>Yes your right but my problem still remains. > >page 1:[SETCOOKIE >name=pas&value=[url][encrypt][uppercase][__pass][/uppercase][/encrypt][/url]&expires=&path=/&domain=[domain_is]] > >page 2: [GETCOOKIE name=pas]=[unurl][decrypt][GETCOOKIE >name=pas][/decrypt][/unurl] > >What I get on page 2 is ?î˜>2©ˆ= the part on the right of the >= is empty??? > >Kenneth Grome wrote: > >> > [SETCOOKIE >> >name=pas&value=[url][encrypt][uppercase][__pass][/uppercase][/encrypt][/url]&expires=&path=/&domain=[domain_is] >> > >> >next page >> > >> >[GETCOOKIE >> >name=pas&value=[unurl][decrypt][uppercase][__pass][/uppercase][/decrypt][/unurl]] >> >> Your getcookie syntax is wrong. Try starting with a simple [GETCOOKIE >> name=pas] tag, then wrap it in the proper contexts to 'undo' what you >> did when you modified the original [__pass] value ... >> >> ================================ >> Kenneth Grome, WebDNA Consultant >> 808-737-6499 http://webdna.net >> ================================ >> >> ------------------------------------------------------------- >> 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://search.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://search.smithmicro.com/================================ Kenneth Grome, WebDNA Consultant 808-737-6499 http://webdna.net ================================------------------------------------------------------------- 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://search.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:

searching with groups (1997) wrong input values? (1997) [SEARCH] Context for SKU prices not working... (1998) Weird Cookie Problem - your answer (2007) help needed: Non-english characters in WebCatalog (1997) [WebDNA] Listfiles and sort order (2010) version 2 for NT (1997) Grouping search fields, etc. (1997) Tax and ShipCost Problem (1997) unsubscribe (2000) Hyperlink in email (2002) Configuring E-mail (1997) Anomaly ? causes NT application event log to overflow (1997) The force has left me. (2002) Help!!!! Purchases not going through! FIXED! (1997) WebCatalog can't find database (1997) Date problems (1997) getting images' width/height (1998) Weird Cookie (2007) WebCatalog for NT (1999)