On 9/22/05, Andy Mcshane <[EMAIL PROTECTED]> wrote:
>         <cffunction name="onRequestStart" returnType="boolean" output="false">
>                 <cfargument name="thePage" type="string" required="true">
>                 <cfif right(cgi.script_name, Len("index.cfm")) NEQ 
> "index.cfm" AND right(cgi.script_name, 3) NEQ "cfc">

You could (should) use arguments.thePage instead of cgi.script_name
here really (that's why you are passed it!).

>         <cffunction name="onRequest" returnType="void">
>                 <cfargument name="thePage" type="string" required="true">
>                 <cfinclude template="../#arguments.thePage#">

Using <cfinclude template="#arguments.thePage#" /> should work fine
(and it does for me). However, you could simply remove the entire
onRequest() method and it would also work.
--
Sean A Corfield -- http://corfield.org/
Team Fusebox -- http://fusebox.org/
Got Gmail? -- I have 50, yes 50, invites to give away!

"If you're not annoying somebody, you're not really alive."
-- Margaret Atwood

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble 
Ticket application

http://www.houseoffusion.com/banners/view.cfm?bannerid=48

Message: http://www.houseoffusion.com/lists.cfm/link=i:12:6828
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/12
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:12
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.12
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to