InterviewSolution
| 1. |
Mention What “beforfilter()”,“beforerender” And “afterfilter” Functions Do In Controller? |
|
Answer» •beforeFilter(): This function is run before every action in the controller. It’s the right place to check for an active session or inspect USER permissions. •beforeFilter(): This function is run before every action in the controller. It’s the right place to check for an active session or inspect user permissions. |
|