Re: [WebDNA] Encode cookies ONLY via "method=Base64"

This WebDNA talk-list message is from

2012


It keeps the original formatting.
numero = 109294
interpreted = N
texte = Stuart - You can store encrypted cookie values. You need to URL twice after = encrypting: [setcookie name=3DCOOKIENAME&value=3D[url][url][encrypt = seed=3DSEEDVALUE]COOKIEVALUE[/encrypt][/url][/url]] and UNURL once before decrypting: [decrypt seed=3DSEEDVALUE][unurl][getcookie = name=3DCOOKIENAME][/unurl][/decrypt] The end result should match the COOKIEVALUE you saved. - Brian On Jul 13, 2012, at 12:19 AM, Stuart Tremain wrote: > Almost 4 years on and the only encryption/decryption that you can do = with cookies is method=3DBase64, and I have just spent 2 days proving it = :( >=20 > Thinking of opening a liquor store ..... problem is it may be like = Dracula in charge of the Blood Bank >=20 >=20 >=20 >=20 > On 28/10/2008, at 1:42 PM, Stuart Tremain wrote: >=20 >> On 28/10/2008, at 1:11 PM, Kenneth Grome wrote: >>=20 >>> Hi Matthew, >>>=20 >>> I tested WebDNA and learned that it won't produce [math] >>> results more than 15 chars long before it resorts to >>> scientific notation, and therefore it appears your >>> suggestion is not possible ... :( >>>=20 >>> I also did a bunch of reading online about prime numbers >>> (very interesting) but none of it matters for use in WebDNA >>> if the [math] context cannot produce numbers more than 15 >>> chars long. >>>=20 >>> It sure would be nice if encrypt / decrypt worked with >>> cookies, and I'm not sure why it doesn't when it works with >>> db's. Any theories about this? >>>=20 >>> Sincerely, >>> Ken Grome >=20 Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Stuart Tremain 2012)
  2. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Brian Fries 2012)
  3. Re: [WebDNA] Encode cookies ONLY via "method=Base64" ("Psi Prime Inc, Matthew A Perosi " 2012)
  4. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Govinda 2012)
  5. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Stuart Tremain 2012)
  6. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Donovan Brooke 2008)
  7. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  8. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  9. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Donovan Brooke 2008)
  10. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  11. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Donovan Brooke 2008)
  12. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  13. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Donovan Brooke 2008)
  14. Re: [WebDNA] Encode cookies ONLY via "method=Base64" ("Gary Krockover" 2008)
  15. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Donovan Brooke 2008)
  16. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Donovan Brooke 2008)
  17. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Marc Thompson 2008)
  18. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Bob Minor 2008)
  19. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Brian Fries 2008)
  20. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Marc Thompson 2008)
  21. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Patrick McCormick 2008)
  22. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  23. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Brian Fries 2008)
  24. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Christer Olsson 2008)
  25. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  26. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Donovan Brooke 2008)
  27. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  28. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  29. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  30. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  31. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  32. Re: [WebDNA] Encode cookies ONLY via "method=Base64" ("Psi Prime, Matthew A Perosi " 2008)
  33. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Stuart Tremain 2008)
  34. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Bob Minor 2008)
  35. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  36. RE: [WebDNA] Encode cookies ONLY via "method=Base64" ("Olin Lagon" 2008)
  37. RE: [WebDNA] Encode cookies ONLY via "method=Base64" ("Olin Lagon" 2008)
  38. Re: [WebDNA] Encode cookies ONLY via "method=Base64" ("Psi Prime, Matthew A Perosi " 2008)
  39. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  40. Re: [WebDNA] Encode cookies ONLY via "method=Base64" ("Psi Prime, Matthew A Perosi " 2008)
  41. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  42. Re: [WebDNA] Encode cookies ONLY via "method=Base64" ("Psi Prime, Matthew A Perosi " 2008)
  43. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
  44. Re: [WebDNA] Encode cookies ONLY via "method=Base64" (Stuart Tremain 2008)
  45. [WebDNA] Encode cookies ONLY via "method=Base64" (Kenneth Grome 2008)
Stuart - You can store encrypted cookie values. You need to URL twice after = encrypting: [setcookie name=3DCOOKIENAME&value=3D[url][url][encrypt = seed=3DSEEDVALUE]COOKIEVALUE[/encrypt][/url][/url]] and UNURL once before decrypting: [decrypt seed=3DSEEDVALUE][unurl][getcookie = name=3DCOOKIENAME][/unurl][/decrypt] The end result should match the COOKIEVALUE you saved. - Brian On Jul 13, 2012, at 12:19 AM, Stuart Tremain wrote: > Almost 4 years on and the only encryption/decryption that you can do = with cookies is method=3DBase64, and I have just spent 2 days proving it = :( >=20 > Thinking of opening a liquor store ..... problem is it may be like = Dracula in charge of the Blood Bank >=20 >=20 >=20 >=20 > On 28/10/2008, at 1:42 PM, Stuart Tremain wrote: >=20 >> On 28/10/2008, at 1:11 PM, Kenneth Grome wrote: >>=20 >>> Hi Matthew, >>>=20 >>> I tested WebDNA and learned that it won't produce [math] >>> results more than 15 chars long before it resorts to >>> scientific notation, and therefore it appears your >>> suggestion is not possible ... :( >>>=20 >>> I also did a bunch of reading online about prime numbers >>> (very interesting) but none of it matters for use in WebDNA >>> if the [math] context cannot produce numbers more than 15 >>> chars long. >>>=20 >>> It sure would be nice if encrypt / decrypt worked with >>> cookies, and I'm not sure why it doesn't when it works with >>> db's. Any theories about this? >>>=20 >>> Sincerely, >>> Ken Grome >=20 Brian Fries

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:

Interpret Around Contexts? (2000) WebCatalog for Postcards ? (1997) [WebDNA] Secure cookies (HttpOnly/Secure) (2013) Emailer prefs in two places ... (1997) All choice in popups (1997) WebCat2final1 crashes (1997) NT or Mac (1997) Nested vs conditional (1997) Create Folder Question... (2000) searchable list archive (1997) wierd [cart] action! (1997) Dates - Search and Sorting (1999) WebCat2b13MacPlugIn - [include] doesn't allow creator (1997) Re:Emailer and encryption (1997) WebCat2 Append problem (B14Macacgi) (1997) PCS Frames (1997) WebCat2b15MacPlugin - showing [math] (1997) WebCat2 - many [carts] on one template page? (1997) SV: WebCat on Linux (2000) Populating a db from a form textarea (2005)