i think the problem is with session that you create and try to continue.
had you tried it with cookies, i think it will work.
or you can do one thing save the session id once its created for the user and check the login name and allocat same id to the login name.
i think it will work..
pleasee, correct me if i m wrong