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.

On 3/21/06, Andy Tyrone <[EMAIL PROTECTED]> wrote:
>
> Hi everyone,
>
> Is there some known bug when displaying/using cookies with specific
> characters in CFMX 7?  The cookie has the correct value in the http
> header,
> but outputting the actual cookie variable decodes the "+" character at the
> beginning:
>
> HTTP_COOKIE=ContactID=+xxx/xxxx=;
>
> Referencing Cookie.ContactID gives me: xxx/xxxx=
>
> The cookie is being set on the same server but by an asp.net application.
> The ContactID is encrypted with DES.  Nothing needs to be decrypted, but
> the
> encrypted value does need to be compared with an id in the database.  I've
> basically inherited this problem and I don't have much to go on yet.
>
> The only way to get the true value of the cookie is to parse the
> CGI.HTTP_COOKIE variable.  I've searched around a bit but not a whole lot
> as
> I am tasked with finding a work around within a specific amount of time,
> but
> so far have not found a solution or an explanation.  I am not sure if
> there
> is a way to get the correct value by referenceing the cookie structure
> because the decoding seems to be automatic.
>
> Thanks,
> Andy
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235889
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