when session starts I send ower to client array like this:

They rotate in interval of 10 sec.

As I see there is no other way (as I cant catch user leaving my site) but to send info which of them was displayed at the point of display of each of them via ajax.

Or there is something I dont see ?