On Wed, Jan 28, 2015 at 1:57 PM, Robert Harrison <[email protected]> wrote:

>
> > try adding an Application.cfc in the root physical directory
>
> I don't that that will work. It would still be a separate application pool,
> and I think you need the CFID and CFTOKEN cookies to have session vars.
>



Did a simple test on CF10 and CF8 and this does seem to work.  The only
identifier for an application is the application name that I'm aware of, so
I would guess the first Application.cfc to be called would be the one to
initialize the application.  Subsequent calls would set the session and
application timeouts, thus setting them the same would be a good idea.

That being said, Dean's proxy suggestion is probably best, since you would
probably want the code to run from either application.cfc.

I thought the directory structure might be like this. The proxy would still
work, but would probably just need a cfmapping to the app root so the
/cfc/application.cfc could find the /app/applicationproxy.cfc.

/cfc
/app
/app/application.cfc


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:360035
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to