Does getSession not work?