session to local