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

[no_cache]?! (2000) Interesting speed comparison .. (2003) Exclude by date - multiple (1997) Do triggers work on Macs? (2000) emailer setup (1997) SetHeader (1999) One more try (1997) WebDNA performance comparisons? (2004) [WebDNA] Optimizing for speed (2010) WebCat2b15MacPlugin - [protect] (1997) TCPConnect / Current Temperature (2004) eCommerce software pricing (1998) Problem during evaluation of WebCatalog (1998) Search in 2 or more catalogs (1997) Shopping cart now good (fixed it) (1997) automating a POST (2002) [WebDNA] 301 redirect on linux (2010) Waitforfile question (2004) [ConvertChars] problem (1997) 2.0 Info (1997)