Code in a custom tag (whether the tag is called directly with a CF_ syntax or called using CFMODULE) can refer to any session and application variables that are available to the calling module. No special scoping or coding is required to access these variables in the tag. If they are established in the module that is calling the tag, they are available to the tag. The only special consideration required is when you want to refer to local variables from the calling module. To reference these, you must use the caller scope. -----Original Message----- From: Peter Theobald [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 09, 2000 1:11 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Application.cfm in a CFMODULE <html> <font size=3>Since CFMODULE doesn't load Application.cfm, I can't use any of my Application.cfm settings in a module. For example, inside a module I cant use Session variables without this:<br> <br> CFLock cannot be used to lock the application or session shared scopes without these scopes being established through the use of the CFApplication tag. You must use CFApplication and specify an application name to use the application scope. If you want to use the session scope you need to enable session management as well. Application and/or Session variables must also be enabled in the ColdFusion Administrator.<br> <br> Should I <CFINCLUDE TEMPLATE="Application.cfm"> to get all the settings? If this is something I will need in all my MODULEs, why doesn't CF just load it for MODULES?<br> <br> </font><br> <br> -<font size=3>--------------------------------------------------------------------- -----<br> Peter Theobald, Chief Technology Officer<br> LiquidStreaming <a href="http://www.liquidstreaming.com/" eudora="autourl">http://www.liquidstreaming.com</a><br> [EMAIL PROTECTED]<br> Phone 1.212.545.1232 Fax 1.212.679.8032<br> </font></html> ---------------------------------------------------------------------------- -- Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body. **************************************************************************** This transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If you are not the intended recipient, you are hereby notified that you have received this transmittal in error; any review, dissemination, distribution or copying of this transmittal is strictly prohibited. If you have received this communication in error, please notify us immediately by reply ([EMAIL PROTECTED]) or by telephone (call us collect at 212-403-4357) and immediately delete this message and all its attachments. **************************************************************************** ------------------------------------------------------------------------------ Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ To Unsubscribe visit http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a message to [EMAIL PROTECTED] with 'unsubscribe' in the body.