[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:

switching users (1998) emailer setup (1997) Locked files not [REPLACE APPEND=T]ed (2000) How To question on setting up downloads (1997) WC on Linux question (2001) Selected Item in Pop-down (2003) Can't get appendfile to work (1997) WebCat2 beta 11 - new prefs ... (1997) too many nested [xxx] (1997) Where is the bug fix info for 4.0.1? (2000) Simple way to create unique SKU (1997) rn doesn't work on date fields (1998) shipCost (1998) OLD ORDERS (1998) Interface to Quickbooks (2005) More Shopping Cart Problems (2000) [format xs] freeze (1997) Duplicate Cart ID (2001) WebCat2b12 CGI Mac -- Problems propagating the cart through (1997) WebCatalog Hosting (1996)