\documentclass{article}


\usepackage{tex-label}

\begin{document}

\labels{sample page, demo, tex-labels}
this is a sample page.

this page doesn't contain any useful info.
just demonstrating use of labels.

\vfil
\break

\labels{second page, demo, labels}

This is another page with different labels.

\vfill
\break

If a page starts without any label. It shows last page's labels. 

\end{document}