House of Fusion
Home of the ColdFusion Community

Search cf-talk

November 20, 2008

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Search over 2,500 ColdFusion resources here  >>>      
Home / Groups / ColdFusion Talk (CF-Talk)

cflogin

Author:
Dave Francis
07/05/2007 11:15 AM

Hi,             I can't quite get my head around this problem - I want to allow users open access to pages in a "common" sub-folder, but restricted access (based on roles) to other sub-folders. Users shouldn't be asked to Login until they want access to the "restricted" pages. I tried doing it via Application.cfc, but now I'm looking at an application.cfm in each folder that cfincludes a "forceUserLogin.cfm" page, and additionally incorporates a isUserInRoles(). Will this work, or do I need some code in each page? And will  Application.cfc still be processed to set my application variables? BTW, I'm running the latest "free" version of Bluedragon             Grateful thanks in advance, Dave


Mailing Lists