getcurrent session to opensession