Maybe as you don't have any session management settings set the file times
out and thus
it can't be found.

Try adding some session management information and retrying:

<CFAPPLICATION name="intranet"
sessionmanagement="Yes" 
        setclientcookies="Yes" 
        sessiontimeout="#CreateTimeSpan('0', '7', '0', '0')#"
        applicationtimeout="#CreateTimeSpan('1', '0', '0', '0')#">

Also you seemed to have closed off the application.cfm file with nothing in
it except the name.

-----Original Message-----
From: Martin Sutton [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 2:00 PM
To: CF-Talk
Subject: RE: Application.cfm Problem


Yeah it is upper case.

It doesn't actually matter on a windows system to my knowledge but I do it
anyway for portability.

I still can't figure this out.

Thanks.

----------------------------------------------------------------------------
-------------
LEGAL DISCLAIMER --
This message and any attachments to it is intended only for the individual
or company to which it is addressed and may contain information which is
privileged, confidential or prohibited from disclosure or unauthorised use.
If the recipient of this transmission is not the intended recipient, or the
employee or agent responsible for delivering such materials to the intended
recipient, you are hereby notified that any use, any form of reproduction,
dissemination, copying, disclosure, modification, distribution and/or
publication of this e-mail message or its attachments other than by its
intended recipient is strictly prohibited by the sender. If you have
received it in error, please return it to the sender and destroy the message
and/or copies in your possession.  The views or opinions expressed in this
email are that of the individual and not necessarily those of A.B.C (Systems
and Development) Limited or any of it's subsidiaries.



-----Original Message-----
From: Edward Chanter [mailto:[EMAIL PROTECTED]]
Sent: 19 January 2001 10:24
To: CF-Talk
Subject: RE: Application.cfm Problem


Martin,

this may be a red herring but did you check that the application.cfm is
actually named Application.cfm (with the uppercase A)

as I said it may not work but I recall having a simillar problem a while
ago..... Changing the name solved it....

        -= Ed

> -----Original Message-----
> From: Martin Sutton [mailto:[EMAIL PROTECTED]]
> Sent: 18 January 2001 5:07 PM
> To: CF-Talk
> Subject: Application.cfm Problem
>
>
> Dear all,
>
> I am having trouble accessing my Application.cfm file.
>
> I only want to pull a couple of var's from it.  Below is the code for the
> output file and Application.cfm
>
> Application is in the root directory and there are no other files of the
> same name present in the tree.
>
>
> <CFAPPLICATION name="intranet">
> <CFSET varDate = DateFormat(Now(), "dd/mm/yy")>
> <CFSET varTime = TimeFormat(Now(), "hh:mm:ss")>
>
>
>
> <CFOUTPUT>
> Browser: #CGI.HTTP_USER_AGENT#
> <br>Client: #CGI.REMOTE_ADDR#
> <br>Server: #CGI.SERVER_NAME#
> <br>Date/Time: #varDate# #varTime#<br>
> </CFOUTPUT>
>
> The output page displays a 404 error when I try this but not when I define
> the variables locally in the output file.
>
> I'd appreciate any help!!
>
> Martin.
>
> ------------------------------------------------------------------
> ----------
> -------------
> LEGAL DISCLAIMER --
> This message and any attachments to it is intended only for the individual
> or company to which it is addressed and may contain information which is
> privileged, confidential or prohibited from disclosure or
> unauthorised use.
> If the recipient of this transmission is not the intended
> recipient, or the
> employee or agent responsible for delivering such materials to
> the intended
> recipient, you are hereby notified that any use, any form of reproduction,
> dissemination, copying, disclosure, modification, distribution and/or
> publication of this e-mail message or its attachments other than by its
> intended recipient is strictly prohibited by the sender. If you have
> received it in error, please return it to the sender and destroy
> the message
> and/or copies in your possession.  The views or opinions expressed in this
> email are that of the individual and not necessarily those of
> A.B.C (Systems
> and Development) Limited or any of it's subsidiaries.
>
>
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to