Session problem

I am using some session variables in my application.When I am traversing from normal jsp page I am able to retrieve the session variables using session.getAttribute(“name”) but I am not able to get the attribute once I start using any menu or frames in the jsp page.

Could anybody suggest a way out…???