I think you have the same issue as reported here:
What happens if you add your session manager on the layout page instead?