This should do it...

<cfapplication
name="loginApp"
clientmanagement="yes"
clientstorage="bww"
setclientcookies="no">
<cfcookie name="CFID" value="#client.CFID#" domain=".whatever.com">
<cfcookie name="CFTOKEN" value="#client.CFTOKEN#" domain=".whatever.com">

Tell CF NOT to set the cookies automatically (because you're doing it), and
then uses the domain attribute of the cfcookie tag to tell the browser this
cookie should be sent to all subdomains for your site...

-Cameron

-----------------
Cameron Childress
Sumo Consulting Inc.
---
cell:  678.637.5072
land:  858.509.3098
aim:   cameroncf
email: [EMAIL PROTECTED]

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 01, 2004 7:27 PM
To: CF-Talk
Subject: Maintain sessions/clients across domains.

I want to keep people logged into my site across subdomains, ie:
www1.whatever.com, www2.whatever.com, etc so in my application.cfm, I added
in

<cfapplication name="loginApp"  clientmanagement="yes" clientstorage="bww"
SETCLIENTCOOKIES="Yes">

<CFCOOKIE NAME="CFID" VALUE="#CFID#">
<CFCOOKIE NAME="CFTOKEN" VALUE="#CFTOKEN#">

and did all the settings in CFadmin for the datasource, but it's still not
passing any client information across the sites. With debugging on, I see
that
it's setting all new cfid, cftoken information.

Any idea what else do I need to do for it to work across domains?

Thanks,

Chris
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to