If you use the fusebox technique...
( _everything_ goes through the index.cfm, which then decides which
templates to include using a CFCASE statement on the 'fuseaction'
eg
<CFSWITCH EXPRESSION="#attributes.fuseaction#">
<CFCASE VALUE="home">
<CFINCLUDE TEMPLATE="dsp_home.cfm">
</CFCASE>
<CFCASE VALUE="faq">
<CFINCLUDE TEMPLATE="dsp_faq.cfm">
</CFCASE>
etc..
see http://www.fusebox.org/ for more details)
... then you can use the following (from Nat Papovich) to ensure that all
page requests go through the index.cfm:
<cfif #ListLast(GetTemplatePath(),'\')# is not "index.cfm">
<cflocation url="/index.cfm?fuseaction=logoff2">
</cfif>
Bert
> -----Original Message-----
> From: Parker, Kevin [mailto:[EMAIL PROTECTED]]
> Sent: 25 July 2000 07:07
> To: CF Talk (E-mail)
> Subject: application.cfm
>
>
> Correct me if I'm wrong but I seem tor recall that in the
> last few weeks
> there was some mention on this list that you could control
> access to all
> files within a directory by doing something with
> application.cfm. It was
> something to the effect that without getting past
> application.cfm everything
> else was inaccessible and therefore bestowed great power on the use of
> application.cfm
>
> I've done an extensive search of my email (I keep all CF mail
> because its
> worth its weight in gold) but can't find anything resembling
> this. Did it
> happen?
>
>
> ********************************
> Kevin Parker
> Service and Communication
> WorkCover Corporation
>
> [EMAIL PROTECTED]
>
> ph: +61 8 82332548
> fax: +61 8 82332000
> ********************************
>
>
>
>
> **************************************************************
> **************
> This e-mail is intended for the use of the addressee only. It
> may contain
> information that is protected by legislated confidentiality and/or is
> legally privileged. If you are not the intended recipient you
> are prohibited
> from disseminating, distributing or copying this e-mail. Any opinion
> expressed in this e-mail may not necessarily be that of the WorkCover
> Corporation of South Australia. Although precautions have
> been taken, the
> sender cannot warrant that this e-mail or any files
> transmitted with it are
> free of viruses or any other defect.
> If you have received this e-mail in error, please notify the sender
> immediately by return e-mail and destroy the original e-mail
> and any copies.
> **************************************************************
> **************
> --------------------------------------------------------------
> ----------------
> Archives: http://www.mail-archive.com/[email protected]/
> To Unsubscribe visit
> http://www.houseoffusion.com/index.cfm?sidebar=lists&body=list
s/cf_talk or send a message to [EMAIL PROTECTED] with
'unsubscribe' in the body.
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.