A way to limit session time? [closed]

I have two sites, one is for streaming which is called in my other site, a little betting site. Both of them are powered by Cloudflare. Is there a way I can set a time limit for the viewers of each of my site to like 30 mins before they have to refresh?