cflogin in appliction.cfc seems to not work
i have login code website (ecommerce) in onrequeststart function of application.cfc. when code gets invoked create specialized session vars (session.userdata) populate getauthuser() var 1 page. if refresh same page or dump of var on page var empty. normal? how can tell if user loggined application successfully? login code attached.
any appreciated.
any appreciated.
you should able output getauthuser() , should contain current user session (after login) on index.cfm page.
you should wrap entire login process inside cflogin tags since between tags processed if user not logged in.
in code above have cflogin tag around cfloginuser tag.
a example of use of cflogin inside application.cfc can found in cf8 documentation. attach important bits here.
More discussions in ColdFusion
adobe
Comments
Post a Comment