Can someone explain to me what
session_cache_limiter('must-revalidate');
does exactly and when I would use it? I was losing my session variables and someone suggested this. Where would I place this on the page and what will it do exactly?
Thanks
This means that the user must reload the page (not cache it) from the server when he visits.
Put it after you have defined your session.
Thank you!!