[session] make sessionhandling global;