Creating a list with infinite groupings and indents
Say I have a table with the following records: rec id description parent id 1 Test Record 1 0 2 Test Record 2 1 3 Test Record 3 1 4 Test Record 4 3 5 Test Record 5 3 6 Test Record 6 4 7 Test Record 7 4 8 Test Record 8 3 The parent id field relates a record to its parent. I want to display the records in a list so that children records are listed indented under their parent. There can be an infinite number of nested parents and children, so there could be many indents in the list. The output in this example should look like this: Test Record 1 Test Record 2 Test Record 3 Test Record 4 Test Record 6 Test Record 7 Test Record 5 Test Record 8 Could somebody give me direction on how to program this? Sample code? Thank you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Sharing login state among applications in Intranet
We are using ColdFusion MX to develop a small Intranet. We need to have a single login to be shared by several applications within the Intranet. I have seen references that suggest using the APPLICATIONTOKEN attribute of the CFLOGIN tag to accomplish this. However, none of the references go into detail. We have attempted to make the value of this attribute the same in all applications, but it didn't seem to work. One suggestion we received said to make the application name the same in all of the Application.cfm templates for each application along with using the APPLICATIONTOKEN attribute. Though this seemed to work, we don't know if this is the best alternative. Can anybody direct me to an example of how this is used? Are we taking the right approach to this? Thank you. John Sprenkle The information contained in this message or transmission may be privileged and/or confidential and protected from disclosure. If the reader of this message is not the intended recipient (or an employee or agent responsible for delivering this message to the intended recipient) you are notified that any dissemination, distribution or copying of this communication is strictly prohibited, as is the taking of any action in reliance on the content of this message or transmission. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. http://www.cfhosting.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Sharing login state among applications in Intranet
The APPLICATIONTOKEN was not working in that when we would go to another app, the user gets re-prompted to enter the login and password. Now that we made all of the app names the same in each Application.cfm, it is working. But like you said, we don't know if this is the best solution. Right now, each app is in its own sub-directory with its own Application.cfm. Perhaps we should make one Application.cfm in root directory? Should the APPLICATIONTOKEN be working with mulitple Application.cfm files? Thanks for your continued help. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Sharing login state among applications in Intranet
It sounds like what you are doing is much more complex than what we need, but thank you. I guess what I need to know is how multiple applications are usually set up. Like I said, each app is in its own directory with its own Application.cfm. A user who logs in the main application may have rights to other applications and we don't want him to have to separtely log into each site, but just log in once and be able to go to the applications he wants. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Sharing login state among applications in Intranet
We would like to keep the apps in separate directories for easier maintenance. What we are looking for is for a user to log into a main application. From here, menu options would be available to other apps based on their assigned role. We have this set up. It just that when they try to go to another app, they must log in again. We just want them to log in once because the login does not carry.There has to be a standard way to accomplish this. Thanks for your continued help. ~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribeforumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4