thats what I'm doing currently.
What really is the problem is that if the suer logs into ym website through the main login page they are assigned variable X.
If they then open up the popup window (its a buddy list feature) it requires them to log in again. I would like to remove this if possible so that it accepts variable X and checks that in the DB.
Then this poses a problem. If they log in through the Buddy list the website reassigns all session entries to that of the buddy list. If they then close that their session does not update anymore (as the session its looking for was closed when the window was closed.). eventually then the site logs the suer out after 20 minutes which it is set to do.
Is this clear enough?