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