How to give time limited discount based on session parameters?
I would like to create an automated discount system where selected visitors are offered a limited time discount coupon code. Selection is made by rules which could include session parameters like session length ("offer a time limited discount to visitor who has browsed the site for a long time"), number of visited pages within session ("offer a time limited discount to visitor who has demonstrated interest to multiple pages/products"), or time ("offer a a time limited discount to visitors within a given time of day").
I've seen this kind of discount logic used on a few sites but is there e.g. a plugin available to achieve this with Magento?