Dear Eduardo and Herbert Voss,
Thanks for your help. It send me on the right direction of what I finally
want. For those who are interested:
\includepackage{nameref}
\newcommand{\currentsectionname}{\label{section:\thesection}\nameref{section
:\thesection}}
And it works. I'm still hoping to make it work within the beamer package,
but that's a different story.
Gr. tiM