I don't have this, and it's expensive, but it appears to be better than a seat post rack. Easy to put on and take off, and more likely to stay in place. You can attach it to seat post or handlebar, depending on the hardware you buy with it.
http://www.amazon.com/gp/product/B00...A3AXSEGOILU14U