It's one way of saying "I enjoyed this, I had a good time."
It just has the obvious meaning.
The typical context would be, for example, with friends or work colleagues with whom you were once close friends, who have now moved far enough away that you don't see them all the time.
I have a work colleague who was a good friend, whom I saw every day. He and his wife now live 150 km. away. We exchange Christmas cards, email, Facebook postings. Everyone once in a while, once a year or so, we'll visit them, or they'll visit us, or we'll meet for dinner at a restaurant halfway in between. We always have a good time and we always end by saying "We must do this more often."