socket save session