I don't think it's a session cookie problem. The session is always active as long as you keep the browser open. I will look into the code and see what was wrong.