Hello Ryan and welcome to Fusebox!

I see Fusebox as a guideline rather than a strict set of rules. There is no
reason why you shouldn't be using application or session variables, for that
matter I've never come across anything in Fusebox that recommends against
using these scopes (so long as you appropriatly cflock them of course ;-) ).

For the request scope, that lasts as long as the current page request. Some
people copy session variables into request variables in applcaition.cfm to
save on locking.


Good Luck!

Ben.
-----Original Message-----
From: Ryan Wood [mailto:[EMAIL PROTECTED]]
Sent: 07 August 2000 14:56
To: '[EMAIL PROTECTED]'
Subject: Global Variables


After doing ASP/CF programming a couple years now, I realized that I am in
great need of a comprehensive programming methodology. I just learned about
fusebox about a week ago and am trying to get a relatively quick grasp on
the concepts. I have downloaded and viewed as much code as I code find and
have a few questions about global variables.

I understand that you set them in the app_globals file, instead of the
application.cfm. Fine. I also notice that there is little use of the
application and session variable scopes opting for the attribute (I know
about the <formurl2attributes> tag) and request scopes.

Does fusebox purposely avoid the application/session scopes? What exactly is
the request scope? Is it global?

Also, is seems that client variables are fairly often. I have not used them
personally because I don't like the idea of secure info begin stored on the
client side (cookie/registry). What is the advantage of using client
variables rather than session variables, other than persistence from one
session to another?

I have an application that is about 35% complete and am considering
re-writing the existing code in fusebox, but I currently have numerous
session and application variables that I am not sure what to do with.

Thanks in advance for your help.

__
Ryan Wood
Intranet Web Developer
Corporate Systems-MIS
Datastream Systems, Inc.
864.422.5260
800.955-6775 x5260

----------------------------------------------------------------------------
--
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or
send a message to [EMAIL PROTECTED] with 'unsubscribe' in
the body.

------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/fusebox or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to