i've got a site where i want to randomize the branding image on the home page. not each time the user visits, but once per day
at the moment i'm thinking of using jquery to store a cookie when the user visits, which will last until midnight. then, if the user visits again that same day, just grab the image from the cache instead of sending them another random one
(i was thinking of maybe embedding a php script that automatically finds out which image should be shown on that day - & if that image is already in the cache just use that)
In hindsight, no one is going to care your site is using a cookie for this. The EU Cookie law is a miserable joke with no enforceability. So go right ahead.
nah, the EU cookie law has me a bit spooked. it might be a dumb law but if bureaucrats are gonna interfere i wanna be out of it in case i'm forced to make changes later. i'll just gonna give the user a different image on each day of the month instead
cheers anyway everyone