-------------------------------------------------------------------------=----------------setcookie code:[raw][setcookie name=3Dcookie&value=3D[url][url][encrypt seed=3D12345678]=bob=20the builder[/encrypt][/url][/url]][/raw]getcookie with no decryption =3D [getcookie cookie]getcookie with decryption and no unurls =3D [decrypt=20seed=3D12345678][getcookie name=3Dcookie][/decrypt][setcookie name=3Dcookie&value=3D[url][url][encrypt seed=3D12345678]bob t=he=20builder[/encrypt][/url][/url]]-------------------------------------------------------------------------=----------------So, it seems to me that the getcookie method already has [unurl]=20built-in? In FireFox, looking at the value of the cookie it is in fact=20url encoded. Here's that value of the cookie copied from the show=20cookies window:=20%8F%B6%AF%16%11Q%A2%FA6%87%C2x%40%F6%D9%14%05%80%03%D6%B7%95%A3%0FMarcKenneth Grome wrote:>> Encrypted cookies do work, but it takes two url's going>> in, and none coming back out.>=20> Not on Windows 6.0a they don't!>=20>=20>> This has been tested on multiple server platforms,>> including WebDNA 5.1c and 6.0.1 on Mac, and 6.0a on Red>> Hat.>=20> None of these are Windows and my client's site runs on=20> Windows and my new development box is Windows too. =20>=20> Here, try this code on one or more of your non-Windows=20> servers -- after you fix the line breaks the email software=20> will insert -- then post the results here:>=20> -----------------------------------------------------------------------=------------------>
>=20> setcookie code:>=20> [raw][setcookie name=3Dcookie&value=3D[url][url][encrypt =20> seed=3D12345678]bob the builder[/encrypt][/url][/url]][/raw]>=20> getcookie with no decryption =3D [getcookie cookie]>=20> getcookie with decryption and no unurls =3D [decrypt=20> seed=3D12345678][getcookie name=3Dcookie][/decrypt]>=20> getcookie with decryption and one unurl =3D [decrypt=20> seed=3D12345678][unurl][getcookie name=3Dcookie][/unurl]> [/decrypt]>=20> getcookie with decryption and two unurls =3D [decrypt=20> seed=3D12345678][unurl][unurl][getcookie name=3Dcookie][/unurl]> [/unurl][/decrypt]>=20>=20> [setcookie name=3Dcookie&value=3D[url][url][encrypt =20> seed=3D12345678]bob the builder[/encrypt][/url][/url]]> -----------------------------------------------------------------------=------------------>=20>=20> When I run this code I NEVER get "bob the builder" as a=20> result! Here's what I get:>=20>=20> -----------------------------------------------------------------------=------------------> 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>=20> 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>=20> 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>=20> getcookie with decryption and two unurls =3D =C3=BDh=C3=82=C2=B6=C2=90 =U:5*i=C3=BD=C3=8A=1C> -----------------------------------------------------------------------=------------------>=20> I don't know what those strange chars will look like after=20> the email software messes with them, but I can assure you=20> that none of them are even close to "bob the builder" ...=20>=20> :(>=20> Sincerely,> Ken Grome>=20>=20>=20>=20>=20>=20>=20>=20> ---------------------------------------------------------> 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/>=20--=20-------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu------------------------------------------- Associated Messages, from the most recent to the oldest:
-------------------------------------------------------------------------=----------------setcookie code:[raw][setcookie name=3Dcookie&value=3D[url][url][encrypt seed=3D12345678]=bob=20the builder[/encrypt][/url][/url]][/raw]getcookie with no decryption =3D [getcookie cookie]getcookie with decryption and no unurls =3D [decrypt=20seed=3D12345678][getcookie name=3Dcookie][/decrypt][setcookie name=3Dcookie&value=3D[url][url][encrypt seed=3D12345678]bob t=he=20builder[/encrypt][/url][/url]]-------------------------------------------------------------------------=----------------So, it seems to me that the getcookie method already has [unurl]=20built-in? In FireFox, looking at the value of the cookie it is in fact=20url encoded. Here's that value of the cookie copied from the show=20cookies window:=20%8F%B6%AF%16%11Q%A2%FA6%87%C2x%40%F6%D9%14%05%80%03%D6%B7%95%A3%0FMarcKenneth Grome wrote:>> Encrypted cookies do work, but it takes two url's going>> in, and none coming back out.>=20> Not on Windows 6.0a they don't!>=20>=20>> This has been tested on multiple server platforms,>> including WebDNA 5.1c and 6.0.1 on Mac, and 6.0a on Red>> Hat.>=20> None of these are Windows and my client's site runs on=20> Windows and my new development box is Windows too. =20>=20> Here, try this code on one or more of your non-Windows=20> servers -- after you fix the line breaks the email software=20> will insert -- then post the results here:>=20> -----------------------------------------------------------------------=------------------>>=20> setcookie code:>=20> [raw][setcookie name=3Dcookie&value=3D[url][url][encrypt =20> seed=3D12345678]bob the builder[/encrypt][/url][/url]][/raw]>=20> getcookie with no decryption =3D [getcookie cookie]>=20> getcookie with decryption and no unurls =3D [decrypt=20> seed=3D12345678][getcookie name=3Dcookie][/decrypt]>=20> getcookie with decryption and one unurl =3D [decrypt=20> seed=3D12345678][unurl][getcookie name=3Dcookie][/unurl]> [/decrypt]>=20> getcookie with decryption and two unurls =3D [decrypt=20> seed=3D12345678][unurl][unurl][getcookie name=3Dcookie][/unurl]> [/unurl][/decrypt]>=20>=20> [setcookie name=3Dcookie&value=3D[url][url][encrypt =20> seed=3D12345678]bob the builder[/encrypt][/url][/url]]> -----------------------------------------------------------------------=------------------>=20>=20> When I run this code I NEVER get "bob the builder" as a=20> result! Here's what I get:>=20>=20> -----------------------------------------------------------------------=------------------> 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>=20> 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>=20> 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>=20> getcookie with decryption and two unurls =3D =C3=BDh=C3=82=C2=B6=C2=90 =U:5*i=C3=BD=C3=8A=1C> -----------------------------------------------------------------------=------------------>=20> I don't know what those strange chars will look like after=20> the email software messes with them, but I can assure you=20> that none of them are even close to "bob the builder" ...=20>=20> :(>=20> Sincerely,> Ken Grome>=20>=20>=20>=20>=20>=20>=20>=20> ---------------------------------------------------------> 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/>=20--=20-------------------------------------------Marc ThompsonSoftware EngineerOffice of Information TechnologyUniversity of Utah801.585.9264marc.thompson@utah.edu------------------------------------------- Marc Thompson
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:
4.5.1 upgrade? (2003) Is this possible, WebCat2.0 and checkboxes (1997) [WriteFile] problems (1997) osx or redhat and / or other (2005) Why did this copyfile stop working? (2004) Code database (1998) iis 4.0 (1997) Execute Applescript (1997) WebCatalog/WebMerchant 2.1 (1998) RAM variables (1997) Include a big block of text (1997) Caching [include] files ... (1997) Configuring E-mail (1997) ImageMagick and [shell] (2003) Stumped (1999) Tab Charactor (1997) sort links (2002) WebCatalog NT beta 18 problem (1997) Having SSL pages on separate server (1999) Associative lookup style? + bit more (1997)