Permission error can be raised when you create sessions. The reason is that you don't have permission to write a session file or create a temporary directory on a directory for saving session. If the error is raised, change permission the directory.
Session files for saving sessions that the same number of session IDs are generated. The session files are deleted when raising timeout or deleting sessions by calling clear methods, however you have to delete the files manually.