Yeah - that's what I was implying....

-----Original Message-----
From: Andrew Scott [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 6:07 PM
To: CF-Talk
Subject: RE: CFAPPLICATION question.


Mark,

If someone creates an application within an application, they don't nee
application.cfm as CF will search backwards till it finds one. The only
reason you would cfinclude a previous application.cfm is to make it part
of the same original session for the user.

But as you said If there is a different cfapplication used with a
different name then you ende up with not being able to share variables
scopes at all



-----Original Message-----
From: Mark A. Kruger - CFG [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 22 January 2002 2:54 PM
To: CF-Talk
Subject: RE: CFAPPLICATION question.

Steve,

In my experience, if they both have separate <cfapplication> tags with
separately named applications, you are actually dealing with 2 different
scopes - however if you are doing a cfinclude of the first
application.cf
m
file in the second (sub) application.cfm file, and there is only one
<cfapplication> tag, they are sharing the same application scope.  If
you
include an application.cfm file in the  inner (sub) directory that does
N
OT
have a cfapplication tag in it, you are NOT still in the prior
applicatio
n
scope - instead you are without an application scope altogether (because
there is no <cfappplication> running).  At least that is how I
understand
it.  Someone else could perhaps shed a bit more light.

mark


-----Original Message-----
From: Steven Durette [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 21, 2002 5:43 PM
To: CF-Talk
Subject: CFAPPLICATION question.


Can answer this for me?  Will users in a sub-application keep the outer
application from timing out?

Here is an example:

I have a CF application that user log into an then have the option to
log into a sub application.  The sub application is actually in a
subdirectory off of the main application.  The outer application has a
timeout of 10 minutes.  The inner application also has a timeout of 10
minutes.  While the users are clicking away in the sub-app are the
clicks stopping the outer app from timing out or will the have to log
back in after 10 minutes are up and they finally decide to click the
link back to the main application?

Thanks,

Steve Durette
Database Administrator/Web Developer
Engineering & Construction Systems Support
SBC/Ameritech





______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation · $99/Month · Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to