Three monthlong sessions does mean three sessions, each of which is one month long, so your first explanation is correct. Three-month-long-sessions means more than one session (not necessarily several, just more than one because of the plural sessions), each of which lasts for three months. hyphenate as you have.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.