Is it possible to run 2 websites on a single CF server, and
for a user to have the same Jsession on both sites?
The easiest way would be to have the same application name in your
cfapplication tag on each site. Of course, both sites would also
share the same application scope etc too.
Tim.
You also need to continue to pass the URKLToken in every link in your app.
-Original Message-
From: Tim Blair [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 18 January 2005 7:58
To: CF-Talk
Subject: RE: two websites, one Cfusion, sharing sessions
Is it possible to run 2 websites on a single
They already *do* share the same application name
The problem seems to be with setting the jsession cookie: I go to
site-a, get a jsession cookie, then when i follow a link to site-b i
need to have the same jsession cookie set for that domain.
If i pass the in the URL
-Original Message-
From: Bert Dawson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 18, 2005 3:21 PM
To: CF-Talk
Subject: Re: two websites, one Cfusion, sharing sessions
They already *do* share the same application name
The problem seems to be with setting the jsession cookie: I go
Is this something you've found that works, of is it the official answer?
Apart from being such a PITA as to not really be an option, i've done
a quick test and it looks like this is not going to would with sticky
sessions in a cluster - the request with the jsession in the URL gets
passed to
On Tue, 18 Jan 2005 15:29:50 +0100, RADEMAKERS Tanguy
[EMAIL PROTECTED] wrote:
it's not a bug, it's a (security) feature - a site can only retrieve
cookies it has set itself,
I know that. I need to get to a situation where 2 sites have the same
jsessionid.
It gets set automatically on site-a,
for siteB (using cfcookie domain=...
syntax) and vice versa (siteB writes cookies for siteA)
/t
-Original Message-
From: Bert Dawson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 18, 2005 5:03 PM
To: CF-Talk
Subject: Re: two websites, one Cfusion, sharing sessions
On Tue, 18 Jan 2005 15
is that because it came from the URL? Try the two following tricks:
- use UrlDecode() when writing url.jsessionid to the cookie
or
- have siteA write a cookie for siteB (using cfcookie domain=...
syntax) and vice versa (siteB writes cookies for siteA)
The first option should work. The
=Set-Cookie
value=TEST_BYHAND=;path=/tanguyland/
yields
Set-Cookie: TEST_BYHAND=;path=/tanguyland/
/t
-Original Message-
From: Dave Watts [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 18, 2005 5:42 PM
To: CF-Talk
Subject: RE: two websites, one Cfusion, sharing sessions
I tried UrlDecode() , and replace, but using cfcookie or cfset
cookie always seems to escape the $.
Is there a way to manually set the cookie without using javascript or CF?
test
cfcookie name=TEST value=$
cfcookie name=TEST1 value=#URLdecode('%24')#
cfset cookie.TEST2 = $
script
On Tue, 18 Jan 2005 18:13:02 +0100, RADEMAKERS Tanguy
[EMAIL PROTECTED] wrote:
what does though, is doing it by hand:
cfheader name=Set-Cookie
value=TEST_BYHAND=;path=/tanguyland/
yields
Set-Cookie: TEST_BYHAND=;path=/tanguyland/
Cool - that does the trick.
Now the
Message-
From: Bert Dawson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 18, 2005 7:09 PM
To: CF-Talk
Subject: Re: two websites, one Cfusion, sharing sessions
On Tue, 18 Jan 2005 18:13:02 +0100, RADEMAKERS Tanguy
[EMAIL PROTECTED] wrote:
what does though, is doing it by hand
-Original Message-
From: Bert Dawson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, January 18, 2005 7:09 PM
To: CF-Talk
Subject: Re: two websites, one Cfusion, sharing sessions
On Tue, 18 Jan 2005 18:13:02 +0100, RADEMAKERS Tanguy
[EMAIL PROTECTED] wrote:
what does though, is doing it by hand
13 matches
Mail list logo