Session in layout

Hi there

I'm trying to build a link menu in a layout using a helper depending on
a session value but I receive this error:

undefined local variable or method `session' for
ApplicationHelper:Module

Is not possible access to session in layouts? How can I do this?

Thanks in advance

Regards