Dear Sharon -
I think that might be whoopie pie? I imagine I've had one or two in my childhood, but I can't even remember what they tasted like

It sounds like you really enjoyed yours!
Interestingly while Wikipedia says it's a New England tradition I've lived here pretty much all my life and rarely if ever see them. Maybe they're more localized around Pennsylvania or New York?