Disable cache in server using htaccess

Disable cache in server using htaccess
after refreshing showing same page in Codeigniter,
after logout in showing active sessions again in codeigniter,
stores in caching and blocks to fetch new page from server,
Disable cache in server,
block cache by htaccess,
# DISABLE CACHING
<IfModule mod_headers.c>
Header set Cache-Control “no-cache, no-store, must-revalidate”
Header set Pragma “no-cache”
Header set Expires 0
</IfModule>