Passing a params to all yii2 controllers

hello everyone
i have E-learning project build on yii2 advance application almost every thing in the project is related to the ( course id )
in backend app the x developer depend on the sessions to pass course id to the other forms and controllers
the client asked to change this way because he cant open 2 taps with 2 course because the new tap will change the session value to the last opened course then any add or update will become related to the last opened course id
i need to change this way by passing param’s over the URL but i have a lot of forms and controllers also i have to pass same ( course id ) from controller to controller every time
my question is :is there another way stander way or quick way to do that