I always use multiple Application.cfcs to lock my sites down.
You have your main Application.cfc that creates a generic session user
struct with default values.
Then I have another in the /admin/
checking to see if the session user struct contains certain values.. if
not, send them to /login/

On Wed, Nov 16, 2011 at 2:44 PM, Mo Lay <[email protected]> wrote:

>
> Hi Guys,
>
> in my cfc file, i am trying to redirect users to login_fail.cfm page if
> authentication failed.
>
> It seems when i try to redirect to that login_fail.cfm page, it keeps
> looping as the  the cfc runs on each page and nothing happend it just
> clocks.
>
> any idea on how i can workarrond that.
>
>
>
> thanks
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-newbie/message.cfm/messageid:5731
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm

Reply via email to