Re: Encrypt question.
This WebDNA talk-list message is from 2000
It keeps the original formatting.
numero = 34000
interpreted = N
texte = Marc, you using webcat 3 on unix? There is a bug with [decrypt] on that combo in that it returns null char(s) and breaksthe page right there.Solution=[text show=T]DebugDecrypt=[decrypt seed=1][unurl][getcookie pas][/unurl][/decrypt][/text]or[unurl][url][decrypt seed=1][unurl][getcookie pas][/unurl][/decrypt][/url][/unurl]--- Side point ---Again, notice that even if the above bug does not apply in your case, I believe you code below would still not be rightsince you are in effect unurling a string which has *not* in effect been [url]ed. You have to [url] it twice to get itinto hexadecimal when inside an &-delim context like [setcookie] because the first [url] only lasts long enough to keepthe &-delim context from breaking in case the string contained any & chars. (But this would not be the cause of yourpage2 coming back blank.)-JohnMARC MALACARME wrote:> ok lets try again:>> page1:[SETCOOKIE name=pas&value=[url][encrypt seed=1][__pass][/encrypt][/url]&expires=&path=/&domain=[domain_is]]>> page 2: [decrypt seed=1][unurl][getcookie pas][/unurl][/decrypt]>> page 2 is blank, no values appear whatsoever.>> if I do [getcookie pas]=[decrypt seed=1][unurl][getcookie pas][/unurl][/decrypt] I get é£s•ø= >-------------------------------------------------------------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:
Marc, you using webcat 3 on unix? There is a bug with [decrypt] on that combo in that it returns null char(s) and breaksthe page right there.Solution=[text show=T]DebugDecrypt=[decrypt seed=1][unurl][getcookie pas][/unurl][/decrypt][/text]or[unurl][url][decrypt seed=1][unurl][getcookie pas][/unurl][/decrypt][/url][/unurl]--- Side point ---Again, notice that even if the above bug does not apply in your case, I believe you code below would still not be rightsince you are in effect unurling a string which has *not* in effect been [url]ed. You have to [url] it twice to get itinto hexadecimal when inside an &-delim context like [setcookie] because the first [url] only lasts long enough to keepthe &-delim context from breaking in case the string contained any & chars. (But this would not be the cause of yourpage2 coming back blank.)-JohnMARC MALACARME wrote:> ok lets try again:>> page1:[SETCOOKIE name=pas&value=[url][encrypt seed=1][__pass][/encrypt][/url]&expires=&path=/&domain=[domain_is]]>> page 2: [decrypt seed=1][unurl][getcookie pas][/unurl][/decrypt]>> page 2 is blank, no values appear whatsoever.>> if I do [getcookie pas]=[decrypt seed=1][unurl][getcookie pas][/unurl][/decrypt] I get é£s•ø= >-------------------------------------------------------------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/
John Butler
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:
Listserver problem (1997)
WCS Newbie question (1997)
WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997)
WebTen? (1997)
PCS Frames (1997)
Automatic Forwarding using WebCat (1997)
searching multiple databases in single search (1997)
[OT] Form POSTing with LONG variable (2007)
Country & Ship-to address & other fields ? (1997)
Database Program (1997)
tag request (1999)
Updating fields from different platforms (1998)
where's Formulas.db? (2001)
webcat2b12 CGI -- Date comparisons (1997)
[BoldWords] WebCat.acgib15Mac (1997)
WebDelivery downloads alias, not original ? (1997)
[WebDNA] Setting Content-Type within [returnraw] - not working on Linux (2010)
textA (1998)
Does this still work (2006)
New public beta available (1997)