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

Cart Question (1998) WebCatalog2 Feature Feedback (1996) problems with 2 tags (1997) summ=T (2003) State DB & TIme Zones (2003) Orderfile Encryption (2007) Help! WebCat2 bug (1997) Showif, Hideif reverse logic ? (1997) Faxing orders in place of email (1997) inetinfo.exe (1999) Dates (1996) WebDNA 5.0 Enterprise Edition (2003) [convertChars] and in a textarea on a form (1998) template not found error (1998) Updating fields from different platforms (1998) Windows 2.1b2 Append Bug? (1997) Memory Parameters (1998) Windows 2.1b2 Append Bug? (1997) Newbie problem blah blah blah (1997) OT-listserver stuff -WAS-webcat method for waiting specific amount of time? (2000)