Hi- have you checked our documentation on Caching: https://totara.help/docs/caching
If you want to use Redis as a session store you need to set the correct values in the config file ($CFG->session_redis_*). You can find more details in the config-dist.php file.
Cheers
Tom
