Store settings in database to decide whether to force login? -


i'd mange website dynamically. built database storing user level , check access pages successfully. want decide whether force login. store pages in database along "needlogin" boolean field, each time user access page, database decide whether force login? confused decide whether force login in frontend or backend? there better way?


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

javascript - Preserving URL fragment through CAS sign-on -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -