Session support, firefox bug fix