The kind of cookies Mendix sets are not part of this law, they are not tracking cookies but are only for authentication.
Check http://www.wired.co.uk/news/archive/2012-05/25/cookies-made-simple for example.