<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community : All Content - All Communities</title>
    <link>https://forums.adobe.com/</link>
    <description>All Content in Adobe Community</description>
    <language>en</language>
    <pubDate>Fri, 26 Sep 2014 16:19:56 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2014-09-26T16:19:56Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>cfexchangecalendar question</title>
      <link>https://forums.adobe.com/thread/1586213</link>
      <description>&lt;!-- [DocumentBodyStart:857f5736-7365-4bcb-b2b9-88e717282f5a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am writing a process that loads an office 365 exchange calendar from an external database.&amp;nbsp; I have the functionality working.&amp;nbsp; Howver, it is not efficient.&amp;nbsp; I am looping through several hundred records similar to:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;cfloop query="myQuery"&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfset myEvent = StructNew()&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfset myEvent.AllDayEvent = "no"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfset myEvent.Subject = "#mySubject#"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfset myEvent.StartTime = "#myStartTime#"&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfset myEvent.EndTime =&amp;nbsp; "#myEndTime#"&lt;span style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfset myEvent.Message = " "#myMessage#""&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;!--- Create Event ---&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfexchangecalendar action="create" connection="testconn1" event="#myEvent#" result="theUID"&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;/cfloop&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is working, however it is slow and sometimes i get: "The request has exceeded the allowable time limit"&amp;nbsp; I do not want to up the time limit.&amp;nbsp; I would like, however, to make this process faster.&amp;nbsp; I am almost 100% positive the bottleneck is the fact that I am creating the event hundreds of times, rather than once.&amp;nbsp; The query called is very fast and only run once.&amp;nbsp; Is it possible to pass multiple events to the cfexchangecalendar create tag rather than one event at a time?&amp;nbsp; Or, does anyone have any suggestions for making this process run quicker?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Where are the specifications for the structure we pass to the cfexchangecalendar via the event variable?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:857f5736-7365-4bcb-b2b9-88e717282f5a] --&gt;&lt;img src='/beacon?t=1415952440003' /&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">cfexchangecalendar office365 exchange microsoft office</category>
      <pubDate>Fri, 26 Sep 2014 16:19:56 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1586213</guid>
      <dc:date>2014-09-26T16:19:56Z</dc:date>
      <clearspace:dateToText>1 month 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>3</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Change ctrl shift / from html comment to cfml comment</title>
      <link>https://forums.adobe.com/thread/1587517</link>
      <description>&lt;!-- [DocumentBodyStart:efd43f43-f261-4cdc-84c7-73793b021b29] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Is there a way to make a quick &amp;lt;!--- comment (cfml) rather than a &amp;lt;!-- comment (html) by using shortcuts like ctrl+shift+/&amp;nbsp;&amp;nbsp;&amp;nbsp; ?&lt;/p&gt;&lt;p&gt;I am used to adding comments around blocks and lines using keyboard shortcuts or clicking a button on dreamweaver.&amp;nbsp; Any way to manage these shortcuts?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:efd43f43-f261-4cdc-84c7-73793b021b29] --&gt;</description>
      <pubDate>Sun, 28 Sep 2014 17:48:34 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1587517</guid>
      <dc:date>2014-09-28T17:48:34Z</dc:date>
      <clearspace:dateToText>1 month 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>psql datasource</title>
      <link>https://forums.adobe.com/thread/1541323</link>
      <description>&lt;!-- [DocumentBodyStart:ff33eee4-13de-4592-ab83-cdea46997fdf] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have set up a psql datasource(odbc) in cf10.&amp;nbsp; Everything works fine, but some tables require a password.&amp;nbsp; In order to provide the password, for each databse connection, I need to make the following SQL statement:&amp;nbsp; SET OWNER='myPassword';&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I do not want that statement before every query.&amp;nbsp; I could use cfinclude and have the password in one file.&amp;nbsp; But, I would rather have it as part of the datasource settings.&amp;nbsp; Is there anyway to do this?&amp;nbsp; Can I set up the above command to run in the datasource settings?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:ff33eee4-13de-4592-ab83-cdea46997fdf] --&gt;</description>
      <pubDate>Thu, 07 Aug 2014 02:14:37 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1541323</guid>
      <dc:date>2014-08-07T02:14:37Z</dc:date>
      <clearspace:dateToText>3 months 1 week ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Dynamic Document Builder</title>
      <link>https://forums.adobe.com/thread/1523086</link>
      <description>&lt;!-- [DocumentBodyStart:4e255176-ceda-4b52-9b86-fcf8d5f49e68] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;A client is asking me to upload files in word, pdf, or whatever format.&amp;nbsp; These documents are legal documents.&amp;nbsp; The upload is no problem, however, he also wants me to create a screen for him to edit uploaded documents.&amp;nbsp; The majority of the documents will remain the same, but the parties (Company Names) will change.&amp;nbsp; He wants to be able to put the two party names in, and then print/download the document for the parties to then sign.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I have not had to do this before and I cannot think of an easy way to do this.&amp;nbsp; I am thinking I will have to convert the word, pdf, or whatever file to html, then manually create the text fields for every document.&amp;nbsp; Basically, I will make every documene he uploads an html form.&amp;nbsp; I will then create a pdf document for the user to print or email.&amp;nbsp; The main issue is the fact that every html form will have to be created manually and this can get expensive for him and tedious for me.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Does anyone here know of a better way to do this?&amp;nbsp; If not, how should I go about converting the doc, pdf, etc to html in coldfusion?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:4e255176-ceda-4b52-9b86-fcf8d5f49e68] --&gt;</description>
      <pubDate>Wed, 16 Jul 2014 04:01:00 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1523086</guid>
      <dc:date>2014-07-16T04:01:00Z</dc:date>
      <clearspace:dateToText>3 months 1 month ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>easy one regarding scope and cfinvoke</title>
      <link>https://forums.adobe.com/thread/1511676</link>
      <description>&lt;!-- [DocumentBodyStart:f62efe04-8712-450e-9a6d-88d9ebe0deab] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Why does this work?&lt;/p&gt;&lt;p&gt;&amp;lt;cfset projectList = Application.Projects.getProjects(CompanyID=request.User.CompanyID)&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;BUT, this throws an error?(Could not find the ColdFusion component or interface Application.Projects)&lt;/p&gt;&lt;p&gt;&amp;lt;cfinvoke component="Application.Projects" method="getProjects" returnvariable="projectList"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;cfinvokeargument name="companyID" value="#request.User.CompanyID#"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/cfinvoke&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I understand that cfinvoke is trying to look for an 'Application' directory, correct?&amp;nbsp; The Projects.cfc is located within a directory names 'sys'.&amp;nbsp; Would it be a better idea to use:&lt;/p&gt;&lt;p&gt;&amp;lt;cfinvoke component="sys.Projects" method="getProjects" returnvariable="projectList"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;cfinvokeargument name="companyID" value="#request.User.CompanyID#"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/cfinvoke&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Basically, is the above the same as:&lt;/p&gt;&lt;p&gt;&amp;lt;cfset projectList = Application.Projects.getProjects(CompanyID=request.User.CompanyID)&amp;gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f62efe04-8712-450e-9a6d-88d9ebe0deab] --&gt;</description>
      <pubDate>Tue, 01 Jul 2014 15:39:03 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1511676</guid>
      <dc:date>2014-07-01T15:39:03Z</dc:date>
      <clearspace:dateToText>4 months 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>bulk sms with coldfusion</title>
      <link>https://forums.adobe.com/thread/1473218</link>
      <description>&lt;!-- [DocumentBodyStart:ada9612a-3c28-4f0c-bf25-8cf3aab968e7] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am thinking about designing a coldfusion application that will allow my clients to sms their customers promos, news, etc.&amp;nbsp; I need to receive text message from the customers to add them to the text club, then at a pre-determined date/time, I send out a bulk sms to all the people that have signed up.&amp;nbsp; I noticed getting a short code is very expensive.&amp;nbsp; I would love to use a short code, but I cant manage the costs.&amp;nbsp; I also know there are companies that specialize in this, but I want to integrate into an already existing coldfusion app.&amp;nbsp; Does anyone here have any experience with bulk sms and coldfusion.&amp;nbsp; I have researched twilio a little, but are there any other companies that I could partner with in order to get this done?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:ada9612a-3c28-4f0c-bf25-8cf3aab968e7] --&gt;</description>
      <pubDate>Mon, 12 May 2014 18:31:27 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1473218</guid>
      <dc:date>2014-05-12T18:31:27Z</dc:date>
      <clearspace:dateToText>6 months 3 days ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Retrieve user from IIS using ISA (TMG)</title>
      <link>https://forums.adobe.com/thread/1440422</link>
      <description>&lt;!-- [DocumentBodyStart:7af5d8a6-99a4-48e9-8ea6-9c0316d72f7a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am writing a coldfusion application that is only accessible through a specific windows server.&amp;nbsp; The users log into the server using citrix.&amp;nbsp; The windows server is using a proxy server called ISA or TMG (Threat Management Gateway), which includes all of the web authentication.&amp;nbsp; This allows the ability to pass Active Directory credentials from TMG to the IIS web server for authentication.&amp;nbsp; This user credentials system is adequate for our client and we are not wanting to have another credential system within our application.&amp;nbsp; In order to utilize this authentication system, we only need to retrieve the username.&amp;nbsp; This system already ensures the user is logged in.&amp;nbsp; Would I try and retrieve the username from IIS?&amp;nbsp; Or, is there some way to retrieve the windows username?&amp;nbsp; The apps I write typically have their own authentication system, so I am new to this and looking fro some guidance.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If anyone has some suggestions on how to proceed in retriving the username I would appreciate the help!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7af5d8a6-99a4-48e9-8ea6-9c0316d72f7a] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">iis</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">isa</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">tmg</category>
      <pubDate>Mon, 31 Mar 2014 18:36:39 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1440422</guid>
      <dc:date>2014-03-31T18:36:39Z</dc:date>
      <clearspace:dateToText>6 months 3 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Single Login across multiple sites</title>
      <link>https://forums.adobe.com/thread/1331867</link>
      <description>&lt;!-- [DocumentBodyStart:8da92328-63e6-4c30-a681-fac602b3ac40] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am anticipating being asked to createa single login system for my coldfusion site and other sites(not coldfusion) on different domains.&amp;nbsp; The other sites will not be tasked with this, but hopefully there will be some cooperation with the other vendors(there has to be).&amp;nbsp; How would I even begin to research this?&amp;nbsp; I was thinking about somehow passing the login info from the coldfusion site to the new site and logging in in the background.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:8da92328-63e6-4c30-a681-fac602b3ac40] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">coldfusion</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">authentication</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">cflogin</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">registered_users</category>
      <pubDate>Sat, 09 Nov 2013 19:11:45 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1331867</guid>
      <dc:date>2013-11-09T19:11:45Z</dc:date>
      <clearspace:dateToText>1 year 4 days ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>moble site architecture</title>
      <link>https://forums.adobe.com/thread/1283857</link>
      <description>&lt;!-- [DocumentBodyStart:48f3a64b-8873-4027-91c9-cc4d1aaea1a7] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have an coldfusion application in production.&amp;nbsp; I am getting more and more requests for certain functions to be available in a mobile friendly format.&amp;nbsp; I do not need the entire site to be mobile friendly, just certain parts.&amp;nbsp; I have researched and determined how to detect the devices and how to redirect mobile users.&amp;nbsp; 2 questions:&lt;/p&gt;&lt;p&gt;1. What is the typical architecture for what I am needing.&amp;nbsp; For example....currently I have:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;webroot/mycfapp&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Should I do this?:&lt;/p&gt;&lt;p&gt; webroot/mycfapp/mycfmobileapp&amp;nbsp; Just add a subfolder?&amp;nbsp; I am wanting to keep using the original authentication and other processes from mycfapp, but just have a section seperated that includes the mobile features.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;What is a light weight accepted way to do this?&amp;nbsp; I typically develop desktop apps so this is new for me.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;2. Where should I store the variable that tells the application which format(desktop or mobile)?&amp;nbsp; Should I keep that flag or variable in&amp;nbsp; a session variable or cookie?&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It seems the prevailing wisdom to keep the apps seperate and I am all for that.&amp;nbsp; I just would like to design it with some thought before I begin coding anything.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:48f3a64b-8873-4027-91c9-cc4d1aaea1a7] --&gt;</description>
      <pubDate>Tue, 27 Aug 2013 13:43:55 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1283857</guid>
      <dc:date>2013-08-27T13:43:55Z</dc:date>
      <clearspace:dateToText>1 year 2 months ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Site Documentation</title>
      <link>https://forums.adobe.com/thread/1286862</link>
      <description>&lt;!-- [DocumentBodyStart:7d85a097-6c5d-4a7c-9585-aed39b9c9805] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am wanting to document my web application with online docs.&amp;nbsp; I have written some docs in pdf and posted them, but I would prefer to have an online version where I can update them easier.&amp;nbsp; It will be text, table of contents, screenshots, etc.&amp;nbsp; What is an easy lightweight to accomplish this?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7d85a097-6c5d-4a7c-9585-aed39b9c9805] --&gt;</description>
      <pubDate>Sat, 31 Aug 2013 14:44:04 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1286862</guid>
      <dc:date>2013-08-31T14:44:04Z</dc:date>
      <clearspace:dateToText>1 year 2 months ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>cflayout tab width issue</title>
      <link>https://forums.adobe.com/thread/1141687</link>
      <description>&lt;!-- [DocumentBodyStart:eda47350-e606-43cf-9660-9fd15c97c340] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am trying to fix a width issue I have on my site with the tabbed pages.&amp;nbsp; I am trying to place a tabbed page within a table similar to this:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:ea02e0f4-ca07-47f5-bbf4-c8826fca465e][excluded]--&gt;&lt;pre class="plain" name="code"&gt;&amp;lt;table align="center" width="70%" border="1"&amp;gt;
&amp;lt;tr&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;td valign="top"&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cflayout type="tab"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cflayoutarea title="Tab 1"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tab 1 data
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/cflayoutarea&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cflayoutarea title="Tab 2"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tab 2 data
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/cflayoutarea&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/cflayout&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;
&amp;lt;/tr&amp;gt;
&amp;lt;/table&amp;gt;
&lt;/pre&gt;&lt;!--[CodeBlockEnd:ea02e0f4-ca07-47f5-bbf4-c8826fca465e]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;If you try this code, the tabbed area generated will be very wide and the user will have to scroll to see it.&amp;nbsp; I would like the cflayout portion to fit within the table width of 70%.&amp;nbsp; I know cflayout width does not accept a percentage value.&amp;nbsp; I want to control the width of the users pages and I do that using percentages on the rest of my site, but to ge this to look decent I have to specify pixels in the cflayout width field.&amp;nbsp; Any ideas to mae this cflayout fit within the table?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:eda47350-e606-43cf-9660-9fd15c97c340] --&gt;</description>
      <pubDate>Fri, 25 Jan 2013 16:59:12 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1141687</guid>
      <dc:date>2013-01-25T16:59:12Z</dc:date>
      <clearspace:dateToText>1 year 10 months ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>nesting cfform behavior....</title>
      <link>https://forums.adobe.com/thread/1140372</link>
      <description>&lt;!-- [DocumentBodyStart:f8c93e9a-72a1-4c96-9d17-44b0dc4b9425] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have the following code and I have tested it in chrome and IE:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;lt;cfform name="form1" action="&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.yahoo.com" rel="nofollow" target="_blank"&gt;http://www.yahoo.com&lt;/a&gt;&lt;span&gt;" method="post" &amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfloop index="X" from="1" to="9"&amp;gt;&lt;/p&gt;&lt;p&gt;&lt;span&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfform name="form2" action="&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.google.com" rel="nofollow" target="_blank"&gt;http://www.google.com&lt;/a&gt;&lt;span&gt;" method="post"&amp;gt; &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfinput type="submit" name="GOOGLE" value="GOOGLE#X#"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/cfform&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/cfloop&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;lt;cfinput type="submit" name="YAHOO" value="YAHOO"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/cfform&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;All the google buttons should submit and go to google.com....The yahoo button should go to yahoo.com.&amp;nbsp; I have code similar to this working elsewhere in my application, but this one has me stumped.&amp;nbsp; The first buton in the loop(when x is 1), is surrounded by the form1 tags and goest to yahoo.com, and the remaining buttons are surrounded by form2 tags and go to google.com like they are supposed to.&amp;nbsp; The final yahoo button is not surounded by a form tag at all and does nothing.&amp;nbsp; I know there is something I am missing....I thought you couldnt nest from tags, but I do it elsewhere and it works fine.&amp;nbsp; I feel like it is something easy I am missing.&amp;nbsp; HELP!&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f8c93e9a-72a1-4c96-9d17-44b0dc4b9425] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">forms</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">cfform</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">nesting</category>
      <pubDate>Wed, 23 Jan 2013 17:24:23 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1140372</guid>
      <dc:date>2013-01-23T17:24:23Z</dc:date>
      <clearspace:dateToText>1 year 10 months ago</clearspace:dateToText>
      <clearspace:replyCount>4</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Sharing application scope</title>
      <link>https://forums.adobe.com/thread/1105949</link>
      <description>&lt;!-- [DocumentBodyStart:155380db-442f-480e-ad6e-66dc32a33c49] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;This question has been asked in the past but not answered completely, so here is my issue:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am currently working on a site that has two separate sections(one public section and another admin section), but need to share the same Application variables.&lt;/p&gt;&lt;p&gt;Basic file structure....&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Root&lt;/p&gt;&lt;p&gt;-- Admin&amp;nbsp; -- Application.cfc&amp;nbsp; -- index.cfm&amp;nbsp; &lt;/p&gt;&lt;p&gt;-- Application.cfc&amp;nbsp; -- index.cfm&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;The public side will contain the application start and end code and the the admin Application.cfc will include the public application.cfc(&amp;lt;cfinclude template="../Application.cfc" /&amp;gt;) and the login logic.&amp;nbsp;&amp;nbsp; The reason I am trying to do this is that my application scope needs to be accessible by both sides. My understanding is that the CF server will treat this all as one application since they have the same name.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;During my testing, I set application.cfcroot variable in the public application.cfc.&amp;nbsp; That variable is not accessible in the admin subfolder.&amp;nbsp; My understanding is the fact that by including the original(public) application.cfc, the application.cfcroot variable will be accessible in subfolders(in this case: admin).&amp;nbsp; Th error I get is that the variable is undefined.&amp;nbsp; I test this by trying to dump the application right after I include it in my application.cfc located in the admin folder.&amp;nbsp; For example:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Contents of application.cfc in root:&lt;/p&gt;&lt;p&gt;-------------------------------------------&lt;/p&gt;&lt;p&gt;&amp;lt;cfset this.name="myapp" &amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;cffunction name = "onApplicationStart"&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfset application.cfcroot = "myapp.cfcs."&amp;gt;&lt;/p&gt;&lt;p&gt;&amp;lt;/cffunction&amp;gt;&lt;/p&gt;&lt;p&gt;-------------------------------------------&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Contents of application.cfc in admin folder:&lt;/p&gt;&lt;p&gt;-------------------------------------------&lt;/p&gt;&lt;p&gt;&amp;lt;cfinclude template="../Application.cfc" /&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;lt;cfdump var="#application#" label="1" /&amp;gt;&lt;/p&gt;&lt;p&gt;-------------------------------------------&lt;/p&gt;&lt;p&gt;error:&lt;/p&gt;&lt;h1 style="color: black; font-family: verdana; background-color: #e7e7e7; font-weight: normal; font-size: 13pt;"&gt;Variable APPLICATION is undefined.&lt;/h1&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any ideas?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:155380db-442f-480e-ad6e-66dc32a33c49] --&gt;</description>
      <pubDate>Wed, 28 Nov 2012 00:06:55 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1105949</guid>
      <dc:date>2012-11-28T00:06:55Z</dc:date>
      <clearspace:dateToText>1 year 11 months ago</clearspace:dateToText>
      <clearspace:replyCount>12</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>cfmessagebox</title>
      <link>https://forums.adobe.com/thread/1052090</link>
      <description>&lt;!-- [DocumentBodyStart:ba6fb320-763c-4020-80ec-4b39ba1c4d90] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I am trying to use cfmessage box to confirm prior to deleting a record.&amp;nbsp; I have a delete button that I am diplaying the fessage box using onclick.&amp;nbsp; The problem I am having is the cfmessagebox pop's up, but the record gets deleted anyway and the cfmessagebox goes away.&amp;nbsp; Basically, the form is getting submitted regardless.&amp;nbsp; I am thinking I am doing something wrong here, but can someone point me in the right direction.&amp;nbsp; Below is come code snippets:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;cfmessagebox code:&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;lt;cfmessagebox type="confirm" name="confirmdelete" title="Delete Employee?" &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; message="Are you sure you want to delete this employee?" &lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; buttonType="YesNo" icon="warning" labelYes="Yes" labelNo="No"&amp;gt; &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;strong&gt;Button code: &lt;/strong&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/p&gt;&lt;p&gt;&amp;lt;button type="submit" id="delete_button" name="delete_button" onClick="javascript:ColdFusion.MessageBox.show('confirmdelete');"&amp;gt;Delete&amp;lt;/button&amp;gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;I am pretty sure I should change the button type to "button" rather than submit.&amp;nbsp; Then, use calbackhandler to submit the form.&amp;nbsp; However, once the form is submitted, I check for which button is pressed using:&lt;/p&gt;&lt;p&gt;&lt;strong&gt;&amp;lt;cfif isDefined("form.delete_button")&amp;gt;&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;I need to submit the form using javascript, then make sure, after the form is submitted, to make sure the above if statement is true.&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Any ideas on what I am doing wrong?&amp;nbsp; Or, any better ways to do this?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:ba6fb320-763c-4020-80ec-4b39ba1c4d90] --&gt;</description>
      <pubDate>Sun, 19 Aug 2012 20:05:38 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1052090</guid>
      <dc:date>2012-08-19T20:05:38Z</dc:date>
      <clearspace:dateToText>2 years 3 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>cfajaxproxy bind with dynamic form</title>
      <link>https://forums.adobe.com/thread/1032970</link>
      <description>&lt;!-- [DocumentBodyStart:cdd95d9a-ff14-4cef-bd9f-9f0f629dd437] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;&lt;span style="font-size: 12pt;"&gt;I have a form with many rows built in a cfloop.&amp;nbsp; I am trying to do a simple client side calculation if the user changes a value in a text box.&amp;nbsp; I can ge the calculation to work, but it places the result in the last row of the form rather than the row the user changed.&amp;nbsp; In other words, they change the values in a text box on row 3 for example.&amp;nbsp; It calculates the right value(using row 3 values) and places the result in the last row(for example row 54).&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;lt;td align="center"&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfinput id="costPerUnit_#currentrow#" name="costPerUnit_#currentrow#" required="yes" value="#products.COSTPERUNIT#" tabindex="-1"&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;lt;td align="center"&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfinput id="ozPerUnit_#currentrow#" name="ozPerUnit_#currentrow#" required="yes" value="#products.OZPERUNIT#" tabindex="-1"&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;lt;td align="center"&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfajaxproxy bind="javascript:doCalcCostPerOz({costPerUnit_#currentrow#},{ozPerUnit_#currentrow#})" /&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;script&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; function doCalcCostPerOz(c,o) {document.getElementById("costPerOz_#currentrow#").value = (parseFloat(c)/parseFloat(o)).toFixed(2);}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/script&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;cfinput id="costPerOz_#currentrow#" name="costPerOz_#currentrow#" type="text" value="#products.COSTPEROZ#"&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 10pt;"&gt;&amp;lt;/td&amp;gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size: 8pt;"&gt;&lt;span style="font-size: 12pt;"&gt;Does anyone have any insight how to make sure the results of the above calculation go to the proper row?&amp;nbsp; I assume it has something to do with the bind expression above and the fact that the costPerOz_#currentrow# is not in the bind expression.&lt;/span&gt;&lt;br/&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:cdd95d9a-ff14-4cef-bd9f-9f0f629dd437] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">javascript</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">bind</category>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">cfajaxproxy</category>
      <pubDate>Thu, 05 Jul 2012 18:44:03 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/1032970</guid>
      <dc:date>2012-07-05T18:44:03Z</dc:date>
      <clearspace:dateToText>2 years 4 months ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Page Authentication</title>
      <link>https://forums.adobe.com/thread/993253</link>
      <description>&lt;!-- [DocumentBodyStart:7ba5018c-29c9-4525-a772-ce3ff32c776c] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have an application where I am setting user roles using cfloginuser.&amp;nbsp; I restrict some pages depending on roles.&amp;nbsp; I am just using a if statement at the top of the page similar to this:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;!--[CodeBlockStart:1daa557f-1517-4c40-ae79-1a99a08859ab][excluded]--&gt;&lt;pre class="plain" name="code"&gt;&amp;lt;cfif IsUserInRole("admin")&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; PAGE CONTENT
&amp;lt;cfelse&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;cflocation url="unathorized.cfm" addtoken="no"&amp;gt;
&amp;lt;/cfif&amp;gt;
&lt;/pre&gt;&lt;!--[CodeBlockEnd:1daa557f-1517-4c40-ae79-1a99a08859ab]--&gt;&lt;div style="display:none;"&gt;&lt;/div&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;This is working fine, but I am now wanting to expand the roles.&amp;nbsp; I want to display or reject each page depending on the roles.&amp;nbsp; However, I am not wanting to add an if statement to every page.&amp;nbsp; Can anyone point me to a better method?&amp;nbsp; I know I am missing something very easy, but I would like an easy non-obtrusive way to do this.&amp;nbsp; Thanks for the suggestions.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:7ba5018c-29c9-4525-a772-ce3ff32c776c] --&gt;</description>
      <pubDate>Sat, 21 Apr 2012 16:38:20 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/993253</guid>
      <dc:date>2012-04-21T16:38:20Z</dc:date>
      <clearspace:dateToText>2 years 7 months ago</clearspace:dateToText>
      <clearspace:replyCount>5</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>where to store location variable</title>
      <link>https://forums.adobe.com/thread/984026</link>
      <description>&lt;!-- [DocumentBodyStart:66c5970f-38ae-493b-b584-f49650017b1a] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;I have an intranet application that will be used by many users.&amp;nbsp; Each user has one or many locations.&amp;nbsp; The data is dispayed by location, so the user selects which location they are working with from a drop down in the header.&amp;nbsp; Once they select their location, the can begin viewing and updating the data.&amp;nbsp; I store the location in a session variable and use it in all my queries to select only that particular location, or to only insert or update that location.&amp;nbsp; Is the session variable the right thing to use here?&amp;nbsp; I am concerned because the user can leave the computer while filling out a form and come back in an hour or so, and the session variable will have timed out.&amp;nbsp; I cannot default it to anything and they will get an error.&amp;nbsp; Any deas of a better way to store the location?&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:66c5970f-38ae-493b-b584-f49650017b1a] --&gt;</description>
      <category domain="https://forums.adobe.com/tags#/?containerType=14&amp;container=1">sessions</category>
      <pubDate>Mon, 02 Apr 2012 12:50:39 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/thread/984026</guid>
      <dc:date>2012-04-02T12:50:39Z</dc:date>
      <clearspace:dateToText>2 years 7 months ago</clearspace:dateToText>
      <clearspace:replyCount>7</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

