Users unable to stay logged on on chrome and Edge

We have spent the past week trying to identify an issue with our web portal whereby users can log on but as soon as they click on any link/button, they’re sent back to the log on screen when using CHROME AND EDGE. This issue does not occur when users are using firefox.
We just tried to disable Cloudflare and the issue stopped occurring.