I'm re-reading Harry Potter and the Chamber of Secrets and I think I'm a little confused on how Horcruxes work.
I previously understood them like this: A Horcrux is a vessel that the soul inhabits once the body dies (the creator leaves a "piece" of his/her soul in the object so that when the creator dies, his soul/conciousness still lives on in his Horcrux).
Therefore, I always thought that once Quirrell was killed and Voldemort left his body, his soul went to his next Horcrux (his diary). He then used this diary to manipulate Ginny to open the Chamber of Secrets, regain a body, and kill Harry.
But then, as I was reading the book, I noticed that Riddle does not know how Harry defeated him in Godric's Hollow--and in Goblet of Fire, Voldemort knows exactly what happened.
So am I misunderstanding Horcruxes here? If so, how did all of this work? If the diary was a Horcrux, how was Voldemort not really controlling it? Who was this "memory Riddle" who wanted to regain a body?