Topic: Many to Many relationship on create


I'm looking to create object1 hat has a habtm relationship with
object2. I want to be able to add multiple object2 when creating
object1. Right now i'm thinking of having an "add" link that posts
back to save object2 to the session and add another object2 field to
the form. I then need the capability to remove that one that is saved
to session. Is there a best practice for this?