[WebDNA] Intermittent Encryption Issue

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 102848
interpreted = N
texte = This is a multipart message in MIME format. ------=_NextPart_000_06A2_01C9FB07.F90CFA90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I was wondering if someone could let me know what I might be doing wrong here. I'm passing an encrypted variable through a form, setting a cookie and then decrypting the cookie. The variable seems to be decrypted correctly every time after being passed. The problem seems to crop up when I try to get the encrypted cookie and decrypt it. Sometimes it's correct - sometimes it's not. Here is my code: Here's how I'm passing it in the form: Here's how I'm decrypting it on the other side: [decrypt seed= PSWD][unurl][ VAR_1][/unurl][/decrypt] The above seems to be working. Here is how I'm setting the already-encrypted cookie once the variable is passed: [SETCOOKIE name=VHVAR_1&value=[url][ VAR_1][/url]&path=/&domain=www.volleyhut.com] Here is how I'm getting the cookie on another page: [decrypt seed= PSWD][unurl][GETCOOKIE name= VHVAR_1][/unurl][/decrypt] I read through the talklist and did try the double [unurl] trick but that didn't seem to work for me either. Any suggestions will be greatly appreciated. Thanks, Tana ------=_NextPart_000_06A2_01C9FB07.F90CFA90 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I was wondering if someone could let me know what I = might be doing wrong here.  I’m passing an encrypted variable through = a form, setting a cookie and then decrypting the cookie.  The variable = seems to be decrypted correctly every time after being passed.  The problem = seems to crop up when I try to get the encrypted cookie and decrypt it.  = Sometimes it’s correct – sometimes it’s not.  =   Here is my code:

 

Here’s how I’m passing it in the = form:

<input type=3D"hidden" = name=3D"VAR_1" value=3D"[url][encrypt = seed=3DPSWD][Variable_1][/encrypt][/url]">

 

Here’s how I’m decrypting it on the = other side:

[decrypt seed=3D PSWD][unurl][ = VAR_1][/unurl][/decrypt]

 

The above seems to be working.  Here is how = I’m setting the already-encrypted cookie once the variable is = passed:

[SETCOOKIE name=3DVHVAR_1&value=3D[url][ = VAR_1][/url]&path=3D/&domain=3Dwww.volleyhut.com]

 

Here is how I’m getting the cookie on another = page:

[decrypt seed=3D PSWD][unurl][GETCOOKIE name=3D = VHVAR_1][/unurl][/decrypt]

 

I read through the talklist and did try the double = [unurl] trick but that didn’t seem to work for me either.  Any = suggestions will be greatly appreciated.

 

Thanks,

 

Tana

 

 

------=_NextPart_000_06A2_01C9FB07.F90CFA90-- Associated Messages, from the most recent to the oldest:

    
  1. RE: [WebDNA] Intermittent Encryption Issue ("Tana Adams" 2009)
  2. Re: [WebDNA] Intermittent Encryption Issue (Donovan Brooke 2009)
  3. [WebDNA] Intermittent Encryption Issue ("Tana Adams" 2009)
This is a multipart message in MIME format. ------=_NextPart_000_06A2_01C9FB07.F90CFA90 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit I was wondering if someone could let me know what I might be doing wrong here. I'm passing an encrypted variable through a form, setting a cookie and then decrypting the cookie. The variable seems to be decrypted correctly every time after being passed. The problem seems to crop up when I try to get the encrypted cookie and decrypt it. Sometimes it's correct - sometimes it's not. Here is my code: Here's how I'm passing it in the form: [url][encrypt seed=PSWD][Variable_1][/encrypt][/url]"> Here's how I'm decrypting it on the other side: [decrypt seed= PSWD][unurl][ VAR_1][/unurl][/decrypt] The above seems to be working. Here is how I'm setting the already-encrypted cookie once the variable is passed: [SETCOOKIE name=VHVAR_1&value=[url][ VAR_1][/url]&path=/&domain=www.volleyhut.com] Here is how I'm getting the cookie on another page: [decrypt seed= PSWD][unurl][GETCOOKIE name= VHVAR_1][/unurl][/decrypt] I read through the talklist and did try the double [unurl] trick but that didn't seem to work for me either. Any suggestions will be greatly appreciated. Thanks, Tana ------=_NextPart_000_06A2_01C9FB07.F90CFA90 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I was wondering if someone could let me know what I = might be doing wrong here.  I’m passing an encrypted variable through = a form, setting a cookie and then decrypting the cookie.  The variable = seems to be decrypted correctly every time after being passed.  The problem = seems to crop up when I try to get the encrypted cookie and decrypt it.  = Sometimes it’s correct – sometimes it’s not.  =   Here is my code:

 

Here’s how I’m passing it in the = form:

<input type=3D"hidden" = name=3D"VAR_1" value=3D"[url][encrypt = seed=3DPSWD][Variable_1][/encrypt][/url]">

 

Here’s how I’m decrypting it on the = other side:

[decrypt seed=3D PSWD][unurl][ = VAR_1][/unurl][/decrypt]

 

The above seems to be working.  Here is how = I’m setting the already-encrypted cookie once the variable is = passed:

[SETCOOKIE name=3DVHVAR_1&value=3D[url][ = VAR_1][/url]&path=3D/&domain=3Dwww.volleyhut.com]

 

Here is how I’m getting the cookie on another = page:

[decrypt seed=3D PSWD][unurl][GETCOOKIE name=3D = VHVAR_1][/unurl][/decrypt]

 

I read through the talklist and did try the double = [unurl] trick but that didn’t seem to work for me either.  Any = suggestions will be greatly appreciated.

 

Thanks,

 

Tana

 

 

------=_NextPart_000_06A2_01C9FB07.F90CFA90-- "Tana Adams"

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:

Loops N Variables (1998) File Uploads... (1997) [WebDNA] plupload ? (2012) [WebDNA] users.db (2009) WebCat2 several catalogs? (1997) [WebDNA] Data.gov & WebDNA (2010) WC Database Format (1997) AAAH: stupid sendmail (2001) WebCat2.0 acgi vs plugin (1997) WebCatalog 2.0 b 15 mac (1997) How to Sort Summ data ? (1997) Re Running Locally (2001) Almost a there but..bye bye NetCloak (1997) Whats going on? (2000) Professional WebDNA Hosting Solutions (2005) b12 cannot limit records returned and more. (1997) Requiring that certain fields be completed (1997) No messages for a week? (2000) WebCatalog 2.0 & WebDNA docs in HTML ... (1997) Normalizing Dates and Phone numbers (2000)