If your root app also uses cflogin, you can just sync up the roles. Ie, Galleon wants forumsmember, forumsmoderator, and forumsadmin for the roles. If your app has roles of:
goober and admingoober Then you can say that when a user logs on with roles of goober, also give them the role of forumsmember, and when they log on with role of admingoober, also give them forumsadmin. That may work. :) On 12/13/05, Mike | NZSolutions Ltd <[EMAIL PROTECTED]> wrote: > Hi guys, > > I am integrating raymond's forum into an administration app I have. The > folder tree is... > > Web_root/admin/forum > > In the admin folder I have an application.cfm which handles logging in a > user. Now on the homepage of the admin I have a link to the forum. > Because the forum has it's own application.cfm - how do I pass on the > cflogin details from the level above so I can restrict unauthorised > users going straight to the forum. > > Eg. in the forum/application.cfm having something like... > > <!--- check that user is logged in ---> > <cfif not len(getAuthUser())> > <cflocation url="../index.cfm" addtoken="no"> > </cfif> > > Even if I am logged in, the application.cfm is returning me to the > admin/index.cfm. > > Any help would be appreciated. > > mike > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:226984 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

