Re: application.cfc move

2006-09-25 Thread Richard White
i have managed to finally get theproblemsorted after about 6 hours, i read an 
article in adobe 

http://www.adobe.com/cfusion/knowledgebase/index.cfm?event=view&id=KC.tn_19109&extid=tn_19109&dialogID=36437612&iterationID=1&sessionID=9630d3290cb0602d7462&stateID=0+0+36443352&mode=simple

which said that the session is invalid will occur when trying to use session 
variables when the j2ee session variables is enabled in the cf administrator. 
so i turned ofthe j2ee session variables and it is now working fine

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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254178
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: application.cfc move

2006-09-25 Thread Richard White
thanks for all your replies, 

i have modified my application.cfc with the code snippet sent

   
   
   
 


and it has fixed the previous error but now i am back to the original error of 
session not valid when i try to use the session variables in my pages as 
follows:


  session.student = StructNew();
  session.student.name = "fred";


the application.cfc is in my root folder and the page trying to use the session 
variables is in a sub folder. the session variables are also enabled on the cf 
admin

this is prob something so simple - but then its always the simple mistakes that 
take longer to fix!

thanks again 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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254177
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: application.cfc move

2006-09-25 Thread Dave Watts
> hi, thanks for your reply, i am not using 5 >= 0 anywhere in 
> my program :)

Well, presumably it's somewhere, since you have that error message.

> it only does that when i have an application.cfc page in the 
> root of my directory saying:
> 
> 
> 
> if i take this application.cfc out of my root directory then 
> it works fine

That's how you'd write Application.cfm. If you want to use Application.cfc,
use the code snippet I sent previously.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
 
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore and Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254175
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: application.cfc move

2006-09-25 Thread Ben Nadel
Don't mean to jump into this late... Sounds like you might be getting
this error:

http://www.bennadel.com/blog/101-ColdFusion-Error-Occurred-While-Process
ing-Request-10-10.htm 
(if that get's cut off:
http://www.bennadel.com/index.cfm?dax=blog:101.view)


..
Ben Nadel
Certified Advanced ColdFusion Developer
www.bennadel.com


-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 6:32 PM
To: CF-Talk
Subject: Re: application.cfc move

hi, thanks for your reply, i am not using 5 >= 0 anywhere in my program
:)

it only does that when i have an application.cfc page in the root of my
directory saying:



if i take this application.cfc out of my root directory then it works
fine



~|
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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254176
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


Re: application.cfc move

2006-09-25 Thread Charlie Griefer
ian mentioned this at the end of the previous thread, and i'll take
responsibility for mentioning  in conjunction with
Application.cfc (see my previous disclaimer about being new to
Application.cfc)...but you shouldn't be using  in an
Application.cfc.

see Dave W's code earlier in this thread, or Ray's Application.cfc
"skeleton" (also linked to earlier)

On 9/25/06, Richard White <[EMAIL PROTECTED]> wrote:
> hi, thanks for your reply, i am not using 5 >= 0 anywhere in my program :)
>
> it only does that when i have an application.cfc page in the root of my 
> directory saying:
>
> 
>
> if i take this application.cfc out of my root directory then it works fine
>
> 

~|
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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254174
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: application.cfc move

2006-09-25 Thread Richard White
hi, thanks for your reply, i am not using 5 >= 0 anywhere in my program :)

it only does that when i have an application.cfc page in the root of my 
directory saying:



if i take this application.cfc out of my root directory then it works fine

~|
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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254173
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: application.cfc move

2006-09-25 Thread Dave Watts
> This is the first time i have created a coldfusion 
> application and have always used dreamweaver to pracitse it. 
> for some reason i am getting an error now that says it is 
> having problems doing 5 >= 0 which i have no idea about as if 
> i take my custom application.cfc page out it works fine - but 
> again without the session variables working. Do you have any 
> idea of what should go into the application.cfc at a very 
> basic level. Just enough to get the session variables working 
> and then i can go into what really should go into this page later on









As for "5 >= 0", that's not a valid CF expression. CF uses English-language
operators (and abbreviations as operators):

...

> also, if i docreate my own custom application.cfc page then 
> do i leave the dreamweaver  generated one in the 
> _mmServerScripts folder 

Yes. That's for Dreamweaver's use, not yours.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
 
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore and Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254171
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: application.cfc move

2006-09-25 Thread Matt Quackenbush
5 >= 0 is not a valid CF comparison statement.  It should be '5 LTE 0'.

 

-Original Message-
From: Richard White [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006 5:19 PM
To: CF-Talk
Subject: Re: application.cfc move

thanks for your replies. I am using dreamweaver and have just tried to
create a basic application.cfc page but i am getting even more lost by the
minute.

This is the first time i have created a coldfusion application and have
always used dreamweaver to pracitse it. for some reason i am getting an
error now that says it is having problems doing 5 >= 0 which i have no idea
about as if i take my custom application.cfc page out it works fine - but
again without the session variables working. Do you have any idea of what
should go into the application.cfc at a very basic level. Just enough to get
the session variables working and then i can go into what really should go
into this page later on

also, if i docreate my own custom application.cfc page then do i leave the
dreamweaver  generated one in the _mmServerScripts folder 

thanks  for 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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254172
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: application.cfc move

2006-09-25 Thread Ian Skinner
The Application.CFC Reference from the live docs
http://www.adobe.com/livedocs/coldfusion/7/htmldocs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=ColdFusion_Documentation&file=part_cfm.htm

If you have local copies of the documentation installed, it is the same content 
and runs much faster.  It would be under the Help menu in DW as "Using 
ColdFusion".



--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254170
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


Re: application.cfc move

2006-09-25 Thread Richard White
thanks for your replies. I am using dreamweaver and have just tried to create a 
basic application.cfc page but i am getting even more lost by the minute.

This is the first time i have created a coldfusion application and have always 
used dreamweaver to pracitse it. for some reason i am getting an error now that 
says it is having problems doing 5 >= 0 which i have no idea about as if i take 
my custom application.cfc page out it works fine - but again without the 
session variables working. Do you have any idea of what should go into the 
application.cfc at a very basic level. Just enough to get the session variables 
working and then i can go into what really should go into this page later on

also, if i docreate my own custom application.cfc page then do i leave the 
dreamweaver  generated one in the _mmServerScripts folder 

thanks  for 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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254169
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4


RE: application.cfc move

2006-09-25 Thread Dave Watts
> hi, in an earlier post i wasnt able to get the session 
> variables to work. this was because my application.cfc page 
> was stored in:
> 
> /_mmServerScripts
> 
> the rest of my pages are stored in:
> 
> /overview
> 
> so i was informed that it was because it wasnt stored in the 
> same folder or sub folder. So i moved the application.cfc out 
> of its folder and put it in the root, but now none of my 
> pages work. when i try to load them they just come up blank. 
> i have tried several ways to get this to work, the only way i 
> have found to do it is to place the application.cfc back in 
> the _mmServerScripts folder but then of course none of my 
> session variables work. 

That Application.cfc is one that's autogenerated by Dreamweaver. Don't use
that for your own application, or move it from the directory in which
Dreamweaver put it.

You'll need to create your own Application.cfc or Application.cfm in the
root directory of your own application.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/
 
Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore and Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

~|
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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254167
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4


RE: application.cfc move

2006-09-25 Thread Ian Skinner
What are you doing in your application.cfc file?  It does have the power to 
intercept the request incase you wanted to do fancy stuff with it.

You may be unintentionally intercepting the request and not returning it.


--
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA

-
| 1 |   |
-  Binary Soduko
|   |   |
-
 
"C code. C code run. Run code run. Please!"
- Cynthia Dunning

Confidentiality Notice:  This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message. 




~|
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.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:254166
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4