Lets go back to the beginning.
Are you setting the session variable? If so, how are you setting it (show code).
If you are not setting it then it is an automatic sessionID being set by the server. This will be expired automatically by the server after the period of innactivity specified in the server settings.