Your logic in App.cfc is probably something like this, inside onRequestStart:
if not logged in, go to login_fial.cfm The problem, of course, is that the request for login_fail.cfm will also trigger onRequestStart. So you probably want to just modify your logic to say if not logged in and not asking for login_fail.cfm, go to login_fail.cfm 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:5732 Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-newbie/unsubscribe.cfm
