> -----Original Message-----
> From: Tony Hicks [mailto:[EMAIL PROTECTED] 
> Sent: Tuesday, March 21, 2006 1:25 PM
> To: CF-Talk
> Subject: Re: Reading cookies and decoding problem
> 
> HAve you tried
> 
> "#cookie.contactid#"... It might be converting the + to a space...
> 
> Also... I would try setting a similar cookie in cf, 
> attempting to read it
> with cf too...
> 
> And lastly I'd try.. just for testing purposes... Try 
> surrounding .... set
> it to like... d+xxx/xxxx=d... See if the first d is stripped, 
> or the plus is
> still converted.
> 

Yes, it is converting the + character to a space, but the problem is the
cookie is not encoded to begin with, or if it is, asp.net knows not to
encode that character.  The problem I am having is you can't reference the
cookie without some automatic mechanism changing that character.  The
workaround I have just written takes CGI.HTTP_Cookie and parses it into an
array and from there into a structure, so I end up with a duped cookie
structure WITH all the correct characters in each cookie.  I tried a few
different methods to work around this but that was the only one that worked.
Duplicating the cookie structure does not work as the values of each cookie
are still decoded in the new structure.

Anyone else?

Andy


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235894
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to