I had CBT and found it really helpful. I think what was really important, for me, was the "homework" I was given to do between sessions (I had sessions every two weeks). I was given worksheets so the stuff outside therapy was still structured, but I was able to apply what I'd learned to real life situations close to when they happened, instead of just working from things that had happened in the past.
I finished my CBT a bit less than 2 years ago and I still find it helpful. I have a folder with all of my stuff in and try to look back at it when my self-esteem takes a dip. It's hard going sometimes, but it is useful and, though my automatic negative thoughts about myself are still there, I'm able to counter them much more easily than I could before CBT.
Good luck with it.