I was going to disagree with this but I've just done the following

/app1/Application.cfm
/app1/index.cfm

/app2/Application.cfm
/app2/index.cfm

both index pages have the SESSION scope dumped and both have a link to the
other app

<a href="../app2/">App 2</a>
<cfdump var="#SESSION#">

and

<a href="../app1/">App 1</a>
<cfdump var="#SESSION#">

With the apps named differently CFID and CFTOKEN stay the same and sessionid
changes as described, from APP1_6601_97893979 to APP2_6601_97893979. With
the apps named the same, all of CFID, CFTOKEN and sessionid stay the same.
This is where I was miss understood, I thought that a new CFID and CFTOKEN
would be created for both apps as you went between them.

With the apps named differently a SESSION var set in one will not be in the
other, named the same and it will.

So that's with no including of one app.cfm within the other app.cfm.

When I do include them and where only one contains cfapplication then the
session seems to stay the same across both, a SESSION var set in both pages
is in the dump on both apps.

Throughout all this nothing seemed to strike me as out of the ordinary,
except for my misunderstanding of how it worked. You wouldn't believe I got
a 94% pass on the CFMX exam would you! :OP

I'm not sure what all this does to help you but it's cleared a few things up
for myself :OD

I'd still recommend doing something like this with your own code, slowly
introducing bits of the app till it starts playing up.

Ade

-----Original Message-----
From: Larry White [mailto:[EMAIL PROTECTED]
Sent: 28 February 2005 22:41
To: CF-Talk
Subject: Re: REPOST: Two applications sharing cfid/cftoken


That's correct. Only the app name, thus sessionid, should change.
The CFID/CFTOKEN should not. That's why I was asking if there is any
CFCOOKIE tags in the applications that would affect them. It's not
necessarily the application.cfm files that are causing this.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

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