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

Miquel (a.k.a. Ktalà a.k.a. Ton)
Linux User #286784
GPG Key : 4D91EF7F
Debian GNU/Linux (Linux wolverine 2.6.23.1)

Welcome to the jungle, we got fun and games
Guns n’ Roses