- see footer for list info -<
Peter is right. I'm betting that since index.cfm is a login page, that
Application.cfm is restricting access to other pages until the user has
logged in.
Check in the Application.cfm file for code that checks against
CGI.SCRIPT_NAME
Also, if the function declaration is not in Application.cfm, check for
lines that say CFINCLUDE which would contain your function
Thanks!
Peter Boughton wrote:
- see footer for list info -<
Welcome!
Most CF apps use the Application.cfm script that auto-runs at the very
beginning of every request.
(Or the newer Application.cfc object which has more specific triggers, but
since this is a six year old system it's more likely to do the
Application.cfm method.)
Hope that helps; feel free to ask further questions if necessary. :)
Peter
On Thu, Mar 20, 2008 at 6:23 PM, Nick Middleweek <
[EMAIL PROTECTED]> wrote:
- see footer for list info -<
Hello,
I'm new to CF so bare with me :)
I've got a great opportunity to learn CF on the job and I'm faced with
rather a big system that's about 6+ years old...
With the help of someone else I've managed to setup a local copy on my
machine and have the index.cfm page served up in my browser using local
IIS/
JRun4...
I've created a new page at the site root called index2.cfm and put in it
"hello" x (approx) 1000 times... I've then tried to access this file in
the
browser but it's kind of doing some kind of redirect and is showing me the
other index page.
There are definately no redirects in my index2.cfm page so I started
looking
at IIS but I can't see how it's that cause if I rename index2.cfm to
index2.html it serves up as expected...
So after hunting around I discovered that JRun 4 is actually the page
processor in much the same way ASP.DLL is the page processor for .asp
pages
in IIS... I've logged into my local JRun Management Console and read a few
help topics and worked my way around the interface but can't find
anything.
I'm guessing there are some rules somewhere that is forcing me to get
redirected back to the index.cfm, which is actually a login screen - I'm
assuming this is to prevent people looking at cached pages when their
session has timed out?
Does anyone know if there's a file where business rules like this can be
set?
This may also answer another question I've got: In the index.cfm page
there
is function call on line 19 and there are no functions declared before
this
line and this is the first page of the 'web-site' so where is that
function
being defined? :-)
Is there some kind of Global.asa file that exists in the ASP world?
Thanks for your help!
Nick
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
-<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<