Is it better to set session cache limiter to nocache or use jQuery ajax cache:false?
I'm using PHP with jQuery. I want to default session.cache_limiter
to nocache
for all my php pages that use sessions. That way I don't have to set session_cache_limiter
for each page request.
I prefer not to set cache:false
when making ajax calls from jQuery because it adds an extra timestamp $_GET to the request. I pass all the values of the $_GET array into MySQL. So I would have to array_pop($_GET)
before sending to the database. Thanks...