Are you setting the cookie using URLEncodedFormat()?  I just did a test
using CFCOOKIE like so:
<CFCOOKIE NAME="thing" VALUE="http://www.thingdomain.com/something.cfm">

I then read the cookie back out like so:
<CFOUTPUT>#cookie.thing#</CFOUTPUT>

The result I got was:
http://www.thingdomain.com/something.cfm

No URL encoding what-so-ever.  It could be that CF automagically
URLEncode/Decodes cookies.  It looks like a pure CF solution works great, I
can't speak for combining it with other App servers.  Maybe you could/should
pass it tot he other server in the URL instead?

-Cameron

--------------------
Cameron Childress
ElliptIQ Inc.
p.770.460.7277.232
f.770.460.0963

> -----Original Message-----
> From: jamesa {James Alexander} [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, September 14, 2000 5:41 PM
> To: Cftalk (E-mail)
> Subject: RE: hexadecimal values in a cookie
>
>
> The other server where the authentication routine runs is not a CF server.
> And I can't do anything about the way it reads the cookie.
> Cookies set via
> cgi on other unix servers in the domain work properly, but the
> cookies that
> I set with cold fusion don't.
>
> > -----Original Message-----
> > From: Cameron Childress [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, September 14, 2000 4:43 PM
> > To: Cf-Talk
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: hexadecimal values in a cookie
> >
> >
> > If you URLDecode() the cookie *after* reading it out of the browser it
> > should.  Is that what you are doing?
> >
> > IE: <CFLOCATION URL="#URLDecode(cookie.goto)#" ADDTOKEN="No">
> >
> > -Cameron
> >
> > --------------------
> > Cameron Childress
> > ElliptIQ Inc.
> > p.770.460.7277.232
> > f.770.460.0963
> >
> > > -----Original Message-----
> > > From: jamesa {James Alexander} [mailto:[EMAIL PROTECTED]]
> > > Sent: Thursday, September 14, 2000 5:28 PM
> > > To: '[EMAIL PROTECTED]'
> > > Subject: RE: hexadecimal values in a cookie
> > >
> > >
> > > has no effect on the cookie.  it still shows up as
> > >
> > DOC=https%3A%2F%2Fwww%2Eutexas%2Eedu%2Fsomedirectory%2Fsomepage%2Ecfm
> > >
> > > > -----Original Message-----
> > > > From: Cameron Childress [mailto:[EMAIL PROTECTED]]
> > > > Sent: Thursday, September 14, 2000 4:34 PM
> > > > To: [EMAIL PROTECTED]
> > > > Cc: [EMAIL PROTECTED]
> > > > Subject: RE: hexadecimal values in a cookie
> > > >
> > > >
> > > > URLDecode(urlEncodedString)
> > > >
> > > > -Cameron
> > > >
> > > > --------------------
> > > > Cameron Childress
> > > > ElliptIQ Inc.
> > > > p.770.460.7277.232
> > > > f.770.460.0963
> > > >
> > > > > -----Original Message-----
> > > > > From: jamesa {James Alexander}
> > [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Thursday, September 14, 2000 12:11 PM
> > > > > To: Cftalk (E-mail)
> > > > > Subject: hexadecimal values in a cookie
> > > > >
> > > > >
> > > > > cf 4.5
> > > > > IIS 4.0
> > > > >
> > > > > I'm trying to pass a url as a cookie called DOC to another
> > > > webserver in my
> > > > > domain.  That webserver performs an authentication routine
> > > > and should then
> > > > > redirect back to my page (based on the value of DOC).  However,
> > > > > the value of
> > > > > the cookie that is set reads as:
> > > > >
> > > >
> > DOC=https%3A%2F%2Fwww%2Eutexas%2Eedu%2Fsomedirectory%2Fsomepage%2Ecfm
> > > > >
> > > > > in the outputted listing of cgi variables
> > > > > instead of
> > > > >
> > > > > DOC=https://www.utexas.edu/somedirectory/somepage.cfm.
> > > > >
> > > > > The script on the other server balks at the hexadecimals.
> > > > I can't figure
> > > > > out why the cookie is set that way, and if there is a way
> > > > to force it to
> > > > > appear as a normal string.  Any ideas? Anyone?
> > > > >
> > > > > jamesa
> > > > >
> > ------------------------------------------------------------------
> > > > > ------------
> > > > > Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> > > > > To Unsubscribe visit
> > > > >
> > http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf
> > > > > _talk or send a message to
> > [EMAIL PROTECTED] with
> > > > > 'unsubscribe' in the body.
> > > >
> >
> ------------------------------------------------------------------
> ------------
> Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
> To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to