Hey again guys,
Maybe a work-around that I've found (feel free to comment if it seems good/bad ;-)) :
- Put a cookie in the visitor's browser with a duration of e.g. 1 week, which would kind of randomly indicate which banner to server (e.g. if I have just 2 banners, red and blue, to test I could put a cookie with a value equal to "even" or "odd" based on the current time seconds)
- Then write something like "if cookie="even" then serve banner red, else serve banner blue"
Obviously the fact that it's more or less random isn't really optimal as it could lead to one banner being served a lot more than the other... but I suspect that if I have to query a database to decide whether I should serve banner blue instead or banner red to serve them equally, it would slow down the rendering a lot...
What do you think ?
Cheers,