i have taken the application.cfc out of the default folder and put it into the
parent directory but now all of my pages are coming up blank. unless it is in
the _mmServerScripts folder nothing works.
is there a reason for this
On 9/25/06, Ian Skinner <[EMAIL PROTECTED]> wrote:
> (honestly, i'm new to Application.cfc, so i'm not sure if the including is a
> generally accepted good practice...might be better to just move the
> Application.cfc up one level so both directories can access it)
>
> Actually with Application.c
thanks for everyones help, its made it very understandable!
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year
i see thanks for all your help :)
~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four
times a year.
http://www.fusionauthori
(honestly, i'm new to Application.cfc, so i'm not sure if the including is a
generally accepted good practice...might be better to just move the
Application.cfc up one level so both directories can access it)
Actually with Application.cfc, extending the CFC is usually a better way, then
trying
Well, you don't really use the cfapplication tag in application.cfc. You
use the "this" scope before the first cffunction to set the application wide
values.
There is a good quick reference from Ray Camden on application.cfc that can
help you choose to stay with application.cfm or use the applica
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >sounds like sessions aren't enabled.
> >
> >the 'action' page that errors out...it's within the same directory (or
> >subdirectory) of the Application.cfc that's enabling the session
> >management?
> >
> >On 9/25/06, Richard White <[EMAIL PROT
In an application.cfm or application.cfc file so that it is automatically
included at the top of every page in the same directory and its sub-directories.
--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
-
| 1 | |
- Binary Soduko
|
tag is typically stored in the application.cfm file. Though
if you are using CF MX, application.cfc is recommended more as it provides
more features, organization and better event based code use.
Teddy
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
> >sounds like sessions aren't enabled
> >sounds like sessions aren't enabled.
> >
> >the 'action' page that errors out...it's within the same directory
> (or
> >subdirectory) of the Application.cfc that's enabling the session
> >management?
> >
> >On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >
>
> oh i see, i have just put
This sounds like the culprit. In order to use a certain session with a
certain application name, the application.cfm or application.cfc needs to be
ina parent folder or in the same folder. Example
Assume foo.cfm is calling a session variable.
\application.cfc
\folder1\foo.cfm
This would work.
>sounds like sessions aren't enabled.
>
>the 'action' page that errors out...it's within the same directory (or
>subdirectory) of the Application.cfc that's enabling the session
>management?
>
>On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
oh i see, i have just put the tag at the top of
>sounds like sessions aren't enabled.
>
>the 'action' page that errors out...it's within the same directory (or
>subdirectory) of the Application.cfc that's enabling the session
>management?
>
well in the root folder there is a default folder called _mmServerScripts, this
is where the application
How are you calling the second page from the main page? cflocation?
Teddy
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
> >what do you see if you do a ?
>
> if i do this in the action page it says variable session is undefined.
>
> i have actually changed it as you said in the main pag
http://www.shayna.com
Training in Cascading Style Sheets and Accessibility
-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED]
Sent: Monday, September 25, 2006 3:46 PM
To: CF-Talk
Subject: Re: Session variables problem
>what do you see if you do a ?
if i do this in the act
>Are session variables enabled from the CF administrator?
>
>Teddy
>
>On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>>
thanks, yes they are enabled in the cf admin and in the cfapplication tag in
the application.cfc
~|
Int
sounds like sessions aren't enabled.
the 'action' page that errors out...it's within the same directory (or
subdirectory) of the Application.cfc that's enabling the session
management?
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >what do you see if you do a ?
>
> if i do this in the a
Are session variables enabled from the CF administrator?
Teddy
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
>
> >1) is session management enabled in a tag?
> >2) that's some ugly naming conventions right there. too many
> >variables with the same name.
> >3) why not just create the stru
>what do you see if you do a ?
if i do this in the action page it says variable session is undefined.
i have actually changed it as you said in the main page and created the
structure straight in the session variable. I am the session.student.name fine
in the main page but it is not working i
>what do you see if you do a ?
if i do this in the action page it says variable session is undefined.
i have actually changed it as you said in the main page and created the
structure straight in the session variable. I am the session.student.name fine
in the main page but it is not working i
what do you see if you do a ?
On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> >1) is session management enabled in a tag?
> >2) that's some ugly naming conventions right there. too many
> >variables with the same name.
> >3) why not just create the struct in the session?
> >
> >
> >
>1) is session management enabled in a tag?
>2) that's some ugly naming conventions right there. too many
>variables with the same name.
>3) why not just create the struct in the session?
>
>
> session.student = structNew();
> session.student.name = "Fred";
>
lol, very goodpoint, thank y
1) is session management enabled in a tag?
2) that's some ugly naming conventions right there. too many
variables with the same name.
3) why not just create the struct in the session?
session.student = structNew();
session.student.name = "Fred";
4) if you do plan on copying a local
I am having trouble with the session variables. I know there must be a simple
solution but this is the first time i have used them and not sure what i am
doing wrong.
I am trying to assign a structure to the session variable in one page and then
use that session structure in the forms action pa
24 matches
Mail list logo