> I have a CF application that has session variables active.  
> What I need to do is to create a link to a web file on 
> another server and pass a customized cookie to it (i.e. 
> cookie.shortname).
> 
> However, when I try to do this, the server only picks up the 
> standard cookies (CFID and CFTOKEN).  Is there any way I can 
> do what I need to do outside of passing it via the URL, or am 
> I out of luck?

I'm not entirely sure what you're trying to do, but you can't pass cookies
from one server to another, unless the first server is actually making an
HTTP request. Cookies are passed by the client to the server, within the
HTTP request header.

If both servers are within the same domain, you can set a cookie from one
server that the client will pass to both servers. Use the DOMAIN attribute
of CFCOOKIE to do this. Third-party cookies are often rejected, but if
you're in an environment where you know they'll work, you could have a page
on your first server include an image or some other asset from the second
server, and have that HTTP response from the other server set a cookie that
would then be sent to the other server.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:256327
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to