Fix session_id bug
Merge pull request #1606 from TriAnMan/destroy-session

Fix session_id bug