While I was thinking of writing an article on how to use the traffic manager to satisfy EU cookie regulations, I figured "somebody else has probably done all the hard work". Sure enough, a quick search turned up an excellent and (more importantly) free utility called cookiesDirective.js. In addition to cookieDirective.js being patently nifty, its website left me with a nostalgic craving for a short, wide glass of milk.
According to the directions, one must follow "just a simple 3-step process" in order to use cookieDirective.js:
This particular example works on the main Riverbed site. To get the code to work, you'll need to change at least the $homepath and $privacyURL variables. If you want the notice to appear at the top of the page, you can change the $noticelocation variable.
NOTE: Remember to apply this rule to your virtual server as a response rule!