Re: [WebDNA] Encode cookies ONLY via "method=Base64"
This WebDNA talk-list message is from 2008
It keeps the original formatting.
numero = 101279
interpreted = N
texte = > It seems that this type of method may be subject to fail> due to small rounding errors when large numbers are> converted to/from scientific notation.Olin, that's exactly the reason why this won't work. The PRECISE value *must* be encrypted so it can be decrypted successfully later, but webdna's math context fails produce a precise value in scientific notation, so it's only useful for relatively small numbers.It would be nice to know the absolute precision of the math context, but we can already infer this since it always seems to end at 15 places. If it were more precise than 15 places we might expect it to display its full precision instead of hiding it in scientific notation, right?Too bad we cannot simply wrap the math context in a [format .40d] context and force a precise 40 character output, eh?:(Sincerely,Ken Grome
Associated Messages, from the most recent to the oldest:
> It seems that this type of method may be subject to fail> due to small rounding errors when large numbers are> converted to/from scientific notation.Olin, that's exactly the reason why this won't work. The PRECISE value *must* be encrypted so it can be decrypted successfully later, but webdna's math context fails produce a precise value in scientific notation, so it's only useful for relatively small numbers.It would be nice to know the absolute precision of the math context, but we can already infer this since it always seems to end at 15 places. If it were more precise than 15 places we might expect it to display its full precision instead of hiding it in scientific notation, right?Too bad we cannot simply wrap the math context in a [format .40d] context and force a precise 40 character output, eh?:(Sincerely,Ken Grome
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:
Options for http uploading of files (1999)
Question about replacing words (1998)
Multiple prices (1997)
Hosts who have upgraded to v5.0? (2003)
second question of the day... (2004)
searching with if/then (2004)
Triggers and today's leap day? (2000)
Tech support (2000)
Server Freeze...not always (1998)
Thanks Grant (1997)
WebCat2 beta 11 - new prefs ... (1997)
PCS Frames-Default page is solution! (1997)
WebCat2 Append problem (B14Macacgi) (1997)
randomness (1997)
OT: Version Control (2007)
sorting problem for sku=0? (1998)
WYSIWYG HTML editor for use in browser (2001)
shownext (1997)
Initiating NewCart (1997)
[WebDNA] File Include HTM (2008)