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

This WebDNA talk-list message is from

2008


It keeps the original formatting.
numero = 101293
interpreted = N
texte = --Apple-Mail-33--43610118 Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Ken, With your code on my servers I get: setcookie code: [setcookie name=3Dcookie&value=3D[url][url][encrypt seed=3D12345678]bob = the =20 builder[/encrypt][/url][/url]] getcookie with no decryption =3D #=C2=B97%0D(%0D=C3=B3=C2=8Fj=C3=9B=03$=C6= =92=C2=BA%22=E2=80=94=20 =C3=AD=C3=99=C5=B8=C3=A3=1E=C3=A3O< getcookie with decryption and no unurls =3D bob the builder getcookie with decryption and one unurl =3D bob the builder getcookie with decryption and two unurls =3D bob the builder Can you look at the actual value of the cookie stored by your browser? =20= As Marc indicated, it should look URL encoded. Mine looks like this: %E7%BF%5C%AB%ECV5%8BE%5E5%104%E3%C7%AF%CB%AC%8A%B1%07dS%85 You might try a third level of URL on the setcookie, but it looks like =20= a bug in the Windows version of WebDNA. Brian Fries BrainScan Software On Oct 28, 2008, at 9:54 AM, Kenneth Grome wrote: >> Encrypted cookies do work, but it takes two url's going >> in, and none coming back out. > > Not on Windows 6.0a they don't! > > >> This has been tested on multiple server platforms, >> including WebDNA 5.1c and 6.0.1 on Mac, and 6.0a on Red >> Hat. > > None of these are Windows and my client's site runs on > Windows and my new development box is Windows too. > > Here, try this code on one or more of your non-Windows > servers -- after you fix the line breaks the email software > will insert -- then post the results here: > > = --------------------------------------------------------------------------= --------------- >
>> setcookie code:>> [raw][setcookie name=3Dcookie&value=3D[url][url][encrypt> seed=3D12345678]bob the builder[/encrypt][/url][/url]][/raw]>> getcookie with no decryption =3D [getcookie cookie]>> getcookie with decryption and no unurls =3D [decrypt> seed=3D12345678][getcookie name=3Dcookie][/decrypt]>> getcookie with decryption and one unurl =3D [decrypt> seed=3D12345678][unurl][getcookie name=3Dcookie][/unurl]> [/decrypt]>> getcookie with decryption and two unurls =3D [decrypt> seed=3D12345678][unurl][unurl][getcookie name=3Dcookie][/unurl]> [/unurl][/decrypt]>>> [setcookie name=3Dcookie&value=3D[url][url][encrypt> seed=3D12345678]bob the builder[/encrypt][/url][/url]]> =--------------------------------------------------------------------------=--------------->>> When I run this code I NEVER get "bob the builder" as a> result!  Here's what I get:>>> =--------------------------------------------------------------------------=---------------> getcookie with no decryption =3D 0=04=C3=A6=C3=9A=C3=9B=C3=85=C3=AC=C3=82==C2=B3%0A=C2=9D> susWh%2C=C3=9F=C2=A95%2C=E2=80=B0=C3=AEW>> getcookie with decryption and no unurls =3D =C3=BDh=C3=82=C2=B6=C2=90 ==E2=80=A1=C2=A9=C2=B6=C3=83=C3=9D=02=C2=BA> =10l< =C3=98=02,w>> getcookie with decryption and one unurl =3D =C3=BDh=C3=82=C2=B6=C2=90 ==E2=80=A1=C2=A9=C2=B6=C3=83=C3=9D=02=C2=BA> =10l< =C3=98=02,w>> getcookie with decryption and two unurls =3D =C3=BDh=C3=82=C2=B6=C2=90 =U:5*i=C3=BD=C3=8A=1C> =--------------------------------------------------------------------------=--------------->> I don't know what those strange chars will look like after> the email software messes with them, but I can assure you> that none of them are even close to "bob the builder" ...>> :(>> Sincerely,> Ken Grome>>>>>>>>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/--Apple-Mail-33--43610118Content-Type: text/html;charset=UTF-8Content-Transfer-Encoding: quoted-printableKen,

With = your code on my servers I get:
setcookie code:[setcookie name=3Dcookie&value=3D[url][url][encrypt =seed=3D12345678]bob the builder[/encrypt][/url][/url]]getcookie with no decryption =3D =#=C2=B97%0D(%0D=C3=B3=C2=8Fj=C3=9B=03$=C6=92=C2=BA%22=E2=80=94=C3=AD=C3=99==C5=B8=C3=A3=1E=C3=A3O<getcookie with decryption and no unurls =3D bob the buildergetcookie with decryption and one unurl =3D bob the buildergetcookie with decryption and two unurls =3D bob the =builder
Can you look at the actual value of the cookie = stored by your browser? As Marc indicated, it should look URL encoded. = Mine looks like this:

%E7%BF%5C%AB%ECV5%8BE%5E5%104%E3%C7%AF%CB%AC%8A%B1%07dS%85

You might try a third level of URL on the setcookie, = but it looks like a bug in the Windows version of = WebDNA.

Brian = Fries
BrainScan Software


On Oct = 28, 2008, at 9:54 AM, Kenneth Grome wrote:

Encrypted cookies do work, = but it takes two url's going
in,= and none coming back out.

Not on Windows 6.0a they = don't!


This has been tested on = multiple server platforms,
including WebDNA   5.1c and 6.0.1 on Mac, and = 6.0a on Red
Hat.

None of these are Windows and my = client's site runs on
Windows and my new development box is Windows = too.  

Here, try this code on one or more of your = non-Windows
servers -- after you fix the line breaks the email = software
will insert -- then post the results = here:

-------------------------------------------------------------= ----------------------------
<!--[!] HAS_WEBDNA_TAGS = [/!]--><pre>

setcookie code:

[raw][setcookie = name=3Dcookie&value=3D[url][url][encrypt  
seed=3D12345678]bob= the builder[/encrypt][/url][/url]][/raw]

getcookie with no = decryption =3D [getcookie cookie]

getcookie with decryption and = no unurls =3D [decrypt
seed=3D12345678][getcookie = name=3Dcookie][/decrypt]

getcookie with decryption and one unurl = =3D [decrypt
seed=3D12345678][unurl][getcookie = name=3Dcookie][/unurl]
[/decrypt]

getcookie with decryption = and two unurls =3D [decrypt
seed=3D12345678][unurl][unurl][getcookie = name=3Dcookie][/unurl]
[/unurl][/decrypt]


[setcookie = name=3Dcookie&value=3D[url][url][encrypt  
seed=3D12345678]bob= the = builder[/encrypt][/url][/url]]
----------------------------------------= -------------------------------------------------


When I run = this code I NEVER get "bob the builder" as a
result!  Here's = what I = get:


----------------------------------------------------------= -------------------------------
getcookie with no decryption =3D = 0=04=C3=A6=C3=9A=C3=9B=C3=85=C3=AC=C3=82=C2=B3%0A=C2=9D
susWh%2C=C3=9F=C2= =A95%2C=E2=80=B0=C3=AEW

getcookie with decryption and no unurls =3D= =C3=BDh=C3=82=C2=B6=C2=90 =E2=80=A1=C2=A9=C2=B6=C3=83=C3=9D=02=C2=BA
=10= l< =C3=98=02,w

getcookie with decryption and one unurl =3D = =C3=BDh=C3=82=C2=B6=C2=90 =E2=80=A1=C2=A9=C2=B6=C3=83=C3=9D=02=C2=BA
=10= l< =C3=98=02,w

getcookie with decryption and two unurls =3D = =C3=BDh=C3=82=C2=B6=C2=90 = U:5*i=C3=BD=C3=8A=1C
--------------------------------------------------= ---------------------------------------

I don't know what those = strange chars will look like after
the email software messes with = them, but I can assure you
that none of them are even close to "bob = the builder" ...

:(

Sincerely,
Ken = Grome








---------------------------------= ------------------------
This message is sent to you because you are = subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, = E-mail to: <talk-leave@webdna.us>
archives= : http://mail.webdna.us/l= ist/talk@webdna.us
old archives: http://dev.webdna.us/TalkLi= stArchive/

= --Apple-Mail-33--43610118-- 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)
--Apple-Mail-33--43610118 Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes Content-Transfer-Encoding: quoted-printable Ken, With your code on my servers I get: setcookie code: [setcookie name=3Dcookie&value=3D[url][url][encrypt seed=3D12345678]bob = the =20 builder[/encrypt][/url][/url]] getcookie with no decryption =3D #=C2=B97%0D(%0D=C3=B3=C2=8Fj=C3=9B=03$=C6= =92=C2=BA%22=E2=80=94=20 =C3=AD=C3=99=C5=B8=C3=A3=1E=C3=A3O< getcookie with decryption and no unurls =3D bob the builder getcookie with decryption and one unurl =3D bob the builder getcookie with decryption and two unurls =3D bob the builder Can you look at the actual value of the cookie stored by your browser? =20= As Marc indicated, it should look URL encoded. Mine looks like this: %E7%BF%5C%AB%ECV5%8BE%5E5%104%E3%C7%AF%CB%AC%8A%B1%07dS%85 You might try a third level of URL on the setcookie, but it looks like =20= a bug in the Windows version of WebDNA. Brian Fries BrainScan Software On Oct 28, 2008, at 9:54 AM, Kenneth Grome wrote: >> Encrypted cookies do work, but it takes two url's going >> in, and none coming back out. > > Not on Windows 6.0a they don't! > > >> This has been tested on multiple server platforms, >> including WebDNA 5.1c and 6.0.1 on Mac, and 6.0a on Red >> Hat. > > None of these are Windows and my client's site runs on > Windows and my new development box is Windows too. > > Here, try this code on one or more of your non-Windows > servers -- after you fix the line breaks the email software > will insert -- then post the results here: > > = --------------------------------------------------------------------------= --------------- >
>> setcookie code:>> [raw][setcookie name=3Dcookie&value=3D[url][url][encrypt> seed=3D12345678]bob the builder[/encrypt][/url][/url]][/raw]>> getcookie with no decryption =3D [getcookie cookie]>> getcookie with decryption and no unurls =3D [decrypt> seed=3D12345678][getcookie name=3Dcookie][/decrypt]>> getcookie with decryption and one unurl =3D [decrypt> seed=3D12345678][unurl][getcookie name=3Dcookie][/unurl]> [/decrypt]>> getcookie with decryption and two unurls =3D [decrypt> seed=3D12345678][unurl][unurl][getcookie name=3Dcookie][/unurl]> [/unurl][/decrypt]>>> [setcookie name=3Dcookie&value=3D[url][url][encrypt> seed=3D12345678]bob the builder[/encrypt][/url][/url]]> =--------------------------------------------------------------------------=--------------->>> When I run this code I NEVER get "bob the builder" as a> result!  Here's what I get:>>> =--------------------------------------------------------------------------=---------------> getcookie with no decryption =3D 0=04=C3=A6=C3=9A=C3=9B=C3=85=C3=AC=C3=82==C2=B3%0A=C2=9D> susWh%2C=C3=9F=C2=A95%2C=E2=80=B0=C3=AEW>> getcookie with decryption and no unurls =3D =C3=BDh=C3=82=C2=B6=C2=90 ==E2=80=A1=C2=A9=C2=B6=C3=83=C3=9D=02=C2=BA> =10l< =C3=98=02,w>> getcookie with decryption and one unurl =3D =C3=BDh=C3=82=C2=B6=C2=90 ==E2=80=A1=C2=A9=C2=B6=C3=83=C3=9D=02=C2=BA> =10l< =C3=98=02,w>> getcookie with decryption and two unurls =3D =C3=BDh=C3=82=C2=B6=C2=90 =U:5*i=C3=BD=C3=8A=1C> =--------------------------------------------------------------------------=--------------->> I don't know what those strange chars will look like after> the email software messes with them, but I can assure you> that none of them are even close to "bob the builder" ...>> :(>> Sincerely,> Ken Grome>>>>>>>>> ---------------------------------------------------------> This message is sent to you because you are subscribed to> the mailing list .> To unsubscribe, E-mail to: > archives: http://mail.webdna.us/list/talk@webdna.us> old archives: http://dev.webdna.us/TalkListArchive/--Apple-Mail-33--43610118Content-Type: text/html;charset=UTF-8Content-Transfer-Encoding: quoted-printableKen,

With = your code on my servers I get:
setcookie code:[setcookie name=3Dcookie&value=3D[url][url][encrypt =seed=3D12345678]bob the builder[/encrypt][/url][/url]]getcookie with no decryption =3D =#=C2=B97%0D(%0D=C3=B3=C2=8Fj=C3=9B=03$=C6=92=C2=BA%22=E2=80=94=C3=AD=C3=99==C5=B8=C3=A3=1E=C3=A3O<getcookie with decryption and no unurls =3D bob the buildergetcookie with decryption and one unurl =3D bob the buildergetcookie with decryption and two unurls =3D bob the =builder
Can you look at the actual value of the cookie = stored by your browser? As Marc indicated, it should look URL encoded. = Mine looks like this:

%E7%BF%5C%AB%ECV5%8BE%5E5%104%E3%C7%AF%CB%AC%8A%B1%07dS%85

You might try a third level of URL on the setcookie, = but it looks like a bug in the Windows version of = WebDNA.

Brian = Fries
BrainScan Software


On Oct = 28, 2008, at 9:54 AM, Kenneth Grome wrote:

Encrypted cookies do work, = but it takes two url's going
in,= and none coming back out.

Not on Windows 6.0a they = don't!


This has been tested on = multiple server platforms,
including WebDNA   5.1c and 6.0.1 on Mac, and = 6.0a on Red
Hat.

None of these are Windows and my = client's site runs on
Windows and my new development box is Windows = too.  

Here, try this code on one or more of your = non-Windows
servers -- after you fix the line breaks the email = software
will insert -- then post the results = here:

-------------------------------------------------------------= ----------------------------
<!--[!] HAS_WEBDNA_TAGS = [/!]--><pre>

setcookie code:

[raw][setcookie = name=3Dcookie&value=3D[url][url][encrypt  
seed=3D12345678]bob= the builder[/encrypt][/url][/url]][/raw]

getcookie with no = decryption =3D [getcookie cookie]

getcookie with decryption and = no unurls =3D [decrypt
seed=3D12345678][getcookie = name=3Dcookie][/decrypt]

getcookie with decryption and one unurl = =3D [decrypt
seed=3D12345678][unurl][getcookie = name=3Dcookie][/unurl]
[/decrypt]

getcookie with decryption = and two unurls =3D [decrypt
seed=3D12345678][unurl][unurl][getcookie = name=3Dcookie][/unurl]
[/unurl][/decrypt]


[setcookie = name=3Dcookie&value=3D[url][url][encrypt  
seed=3D12345678]bob= the = builder[/encrypt][/url][/url]]
----------------------------------------= -------------------------------------------------


When I run = this code I NEVER get "bob the builder" as a
result!  Here's = what I = get:


----------------------------------------------------------= -------------------------------
getcookie with no decryption =3D = 0=04=C3=A6=C3=9A=C3=9B=C3=85=C3=AC=C3=82=C2=B3%0A=C2=9D
susWh%2C=C3=9F=C2= =A95%2C=E2=80=B0=C3=AEW

getcookie with decryption and no unurls =3D= =C3=BDh=C3=82=C2=B6=C2=90 =E2=80=A1=C2=A9=C2=B6=C3=83=C3=9D=02=C2=BA
=10= l< =C3=98=02,w

getcookie with decryption and one unurl =3D = =C3=BDh=C3=82=C2=B6=C2=90 =E2=80=A1=C2=A9=C2=B6=C3=83=C3=9D=02=C2=BA
=10= l< =C3=98=02,w

getcookie with decryption and two unurls =3D = =C3=BDh=C3=82=C2=B6=C2=90 = U:5*i=C3=BD=C3=8A=1C
--------------------------------------------------= ---------------------------------------

I don't know what those = strange chars will look like after
the email software messes with = them, but I can assure you
that none of them are even close to "bob = the builder" ...

:(

Sincerely,
Ken = Grome








---------------------------------= ------------------------
This message is sent to you because you are = subscribed to
the mailing list <talk@webdna.us>.
To unsubscribe, = E-mail to: <talk-leave@webdna.us>
archives= : http://mail.webdna.us/l= ist/talk@webdna.us
old archives: http://dev.webdna.us/TalkLi= stArchive/

= --Apple-Mail-33--43610118-- 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:

More on the email templates (1997) Version 4? (2000) NT or Mac (1998) Summ=T Problem (1997) year 2000 + and webmerch, macauth? (1998) Separate SSL Server (1997) emailer (1997) Country & Ship-to address & other fields ? (1997) Founditems context returning only 1 item (1997) date pref (1999) unusual search problem (1998) t or f (1997) Location of Browser Info.txt file (1997) Emailer Set Up (1997) standard vs intertwined multithreading (1999) Is there a max number of fields? (1998) Performance Issue (2000) WC2f3 (1997) Bad Cookie / Internet Option / Internet Explorer (2004) Browser Problem?!? Still getting Error message using (1997)