I'd go with the before filter. That seems like it would be the most
robust and also would require the least code. It's an interesting
problem. I'd love to hear what you come up with.
Thanks
--
Ryan http://tomayko.com/about