Now that weâve moved to CF7 we are reworking our authentication system and taking advantage of application.cfc. We have written a cflogin block into the onRequestStart function but it does not seem to be setting the user. Here is the code block we have boiled it down to for testing.
<cffunction name="onRequestStart" returnType="void" output="false"> <cflogin> <cfif NOT IsDefined("cflogin")> <cfloginuser name="reflynn" password="password" roles="none" /> <cflocation url="http://espn.com"> <cfelse> <cflocation url="http://google.com"> </cfif> </cflogin> </cffunction> Every time we hit the page it redirects to ESPN. Everything I read tells me itâs pretty straightforward. We must be doing something very simple incorrectly. Any pointers greatly appreciated. Bob ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:219102 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