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.- BrianOn 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:
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.- BrianOn 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:
Temp DB (Was freeze) (2003)
WebCat2b13MacPlugin - nested [xxx] contexts (1997)
PCS Frames (1997)
Graphs & diagrams (2003)
Questions on Mac WC 3.0.5b13 (2000)
WebCat2b12--[searchstring] bug (1997)
Field name-subcategory (1997)
Extended [ConvertChars] (1997)
CommandSecurity? (1997)
DRC content management site (2003)
Running _every_ page through WebCat ? (1997)
WC2b15 File Corruption (1997)
Bad Cookie / Internet Option / Internet Explorer (2004)
This message couldn't reach the list! (multi-column (1998)
Unexpected error (1997)
bug in [SendMail] (1997)
HELP WITH DATES (1997)
Re:Running 2 two WebCatalog.acgi's (1996)
PIXO (1997)
Table Trouble... (2005)