Session support in framework