IP Check on a cached site
-
Hi there,
We run a check against the user’s IP address to display some jquery code (or not) within footer.php of our theme.
The check is done against $_SERVER[‘REMOTE_ADDR’] and what happens is once the site is cached (and a user is not logged in), this check is just not performed for each user because they are seeing a cached/static version of the site.
Please could you let me know how we overcome situations like this where we need to do a check such as this on a cached site?
Thanks ever so much for any help/advice you can offer :),
Tonya
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘IP Check on a cached site’ is closed to new replies.