Well, you just need to implement cookies via Javascript/jQuery on the client side rather than via php. Not really that hard to do. Just save the expiration time set by the Admin into the client side javascript from php, even if it’s cached, if saved once then the value will be in the cache from there on for all visitors.
Example:
<?php
$cookie_expiration = 30; // days
?>
<script type="text/javascript">
var cookieExpires = <?php echo $cookie_expiration; ?>;
</script>
-
This reply was modified 8 years, 1 month ago by john smith.
-
This reply was modified 8 years, 1 month ago by john smith.