RE: Application.cfm Problem

2001-01-22 Thread Jann VanOver

No, this is not correct.  

Application.cfm MAY have HTML in it -- but that HTML will be included at the
top of EVERY PAGE!  If that's your intention then it will work.

I have coded apps before that use Application.cfm to write the entire HEAD
(tailoring the title by looking at cgi.script_name) and beginning of body.
It can be a nice way to standardize a web site's look.

-Original Message-
From: Sean Daniels [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 19, 2001 11:52 AM
To: CF-Talk
Subject: RE: Application.cfm Problem


Put your output in a different file in the same driectory as application.cfm
and run that file. I may be wrong, but I don't think application.cfm can
have any html output in it. Only cf code.

- Sean
~~
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



RE: Application.cfm Problem

2001-01-19 Thread Edward Chanter

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#
 brClient: #CGI.REMOTE_ADDR#
 brServer: #CGI.SERVER_NAME#
 brDate/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



RE: Application.cfm Problem

2001-01-19 Thread Daniel Lancelot

thats only on unix based systems - nt systems are case insensitive

-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#
 brClient: #CGI.REMOTE_ADDR#
 brServer: #CGI.SERVER_NAME#
 brDate/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



RE: Application.cfm Problem

2001-01-19 Thread Martin Sutton

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#
 brClient: #CGI.REMOTE_ADDR#
 brServer: #CGI.SERVER_NAME#
 brDate/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



RE: Application.cfm Problem

2001-01-19 Thread Cornillon, Matthieu

Martin,

It strikes me as very strange that you would be getting a 404 error based on
whether or not you ask for a variable value.  (I'm sure it strikes you as
strange, too!)  It seems to me that it ought to be throwing a "variable not
defined" sort of error.  How could the CFOUTPUT statement possibly "know"
that you are calling on a variable that you defined in the Application.cfm?
It would have to "know" that in order to request the page and result in a
404.

What is the rest of the code on this page?  On the output page, I would
comment out everything but the HTML headers and the bit of code you listed
below.  I would also comment out everything but what's below for the
Application.cfm.  Then see what happens.  If that doesn't work, keep
commenting stuff out until it does work.  I'd temporarily replace the
DateFormat and TimeFormat functions with simple values.  I'd comment out all
the CGI variable references.  Hopefully you'll be able to pinpoint exactly
what line is doing it.  Once you see the line, I'll bet that the answer
comes more easily.

Good luck,
Matthieu

 -Original Message-
 From: Martin Sutton [mailto:[EMAIL PROTECTED]]
 Sent: Thursday, January 18, 2001 12: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#
 brClient: #CGI.REMOTE_ADDR#
 brServer: #CGI.SERVER_NAME# 
 brDate/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



RE: Application.cfm Problem

2001-01-19 Thread Edward Chanter

That's what I thought too..

The example I gave below was an NT system.. It was a very weird one
indeed but I find that if I call  the file application.cfm it doesn't
work.

As I said, a weird one.

-= Ed

 -Original Message-
 From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
 Sent: 19 January 2001 1:46 PM
 To: CF-Talk
 Subject: RE: Application.cfm Problem


 thats only on unix based systems - nt systems are case insensitive

 -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#
  brClient: #CGI.REMOTE_ADDR#
  brServer: #CGI.SERVER_NAME#
  brDate/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



RE: Application.cfm Problem

2001-01-19 Thread Jason Lees (National Express)


I had a similar problem and got round it by adding in the Application scope,
thus I ended up with the variable - #Application.myVar# and it worked.

Jason Lees
National Express Ltd
E-Mail : [EMAIL PROTECTED]


-Original Message-
From: Martin Sutton [mailto:[EMAIL PROTECTED]]
Sent: 19 January 2001 14:00
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#
 brClient: #CGI.REMOTE_ADDR#
 brServer: #CGI.SERVER_NAME#
 brDate/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



RE: Application.cfm Problem

2001-01-19 Thread Edward Chanter

I did notice that your first line

CFAPPLICATION name="intranet"

have you tried:

cfapplication name="intranet" clientmanagement="Yes"
sessionmanagement="Yes" setclientcookies="Yes"

instead?


 -Original Message-
 From: Martin Sutton [mailto:[EMAIL PROTECTED]]
 Sent: 19 January 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#
  brClient: #CGI.REMOTE_ADDR#
  brServer: #CGI.SERVER_NAME#
  brDate/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



RE: Application.cfm Problem

2001-01-19 Thread Javed Mushtaq

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#
 brClient: #CGI.REMOTE_ADDR#
 brServer: #CGI.SERVER_NAME#
 brDate/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



RE: Application.cfm Problem

2001-01-19 Thread Sean Daniels

Put your output in a different file in the same driectory as application.cfm
and run that file. I may be wrong, but I don't think application.cfm can
have any html output in it. Only cf code.

- Sean
~~
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