No. Here you have my test.
%------------------------------
\documentclass{beamer}
\newcommand{\footA}{\insertsection --- \insertsubsection}
\newcommand{\footB}{\inserttocsection --- \inserttocsubsection}
\newcommand{\footC}{\secname --- \subsecname}
\setbeamertemplate{footline}{%
\begin{beamercolorbox}[leftskip=15pt,rightskip=15pt,ht=2.5ex,dp=1ex]{footline}
\hspace*{-15pt}{\usebeamercolor{separation
line}\rule[1ex]{\paperwidth}{1pt}}\\
\usebeamerfont{footline}\footA %-> Change footA with footB or footC
\par
\vspace{2ex}
\end{beamercolorbox}%
}
\begin{document}
\section*{Outline}
\begin{frame}{Outline}
\tableofcontents
\end{frame}
\section[short section name]{very long section name}
\subsection[short subsection name]{very long subsection name}
\begin{frame}
First frame
\end{frame}
\begin{frame}
Second frame
\end{frame}
\end{document}
%------------------------------
with \footB says --
! Undefined control sequence.
\footB ->\inserttocsection
--- \inserttocsubsection
l.16 \begin{document}
with \footC says --
! Undefined control sequence.
\footC ->\secname
--- \subsecname
l.16 \begin{document}
Thank you,
Ignasi
--
----------------------------------------------------------------------
Ignasi Furió Caldentey
Universitat de les Illes Balears
Escola Politècnica Superior
Dep. Matematiques i Informatica
Cra. Valldemossa, km. 7,5. 07122-Palma. SPAIN
tel: (34) 971.259.970 fax: (34) 971.173.003
e-mail: ignasi dot furio at uib dot cat
http://www.uib.cat
----------------------------------------------------------------------
I see. Well, \secname (\subsecname) doesn't get defined yet since you
have no sections (subsections) yet. You can workaround this with:
\def \secname {}
\def \subsecname {}
which will get overwritten when they get defined by Beamer (after the
first section or subsection).
Hope it helps,
--
Vedran Miletić
By the way, this is a bit ugly workaround. I will see what can be done
for Beamer 3.11 to make it work nicer.
Regards,
--
Vedran Miletić