I'm using custom session handlers to store sessions in a MySQL database. My code was originally using a mysql_pconnect to create persistent connections in the session_open() function, but I was getting "too many connections" errors during heavy traffic, so I tried switching to a plain old mysql_connect and now I'm seeing strange behavior. My page has a top frame and a bottom frame. Both frames start a session and write a session. The top frame loads some session data, then the user interacts and submits a form to the bottom frame where their answers are checked and sessions are updated, then the top frame is reloaded with new data. Unfortunately, my script in the bottom frame keeps getting incomplete session data from the top frame. All my data except a couple of variables is getting passed correctly. I don't have a clue as to why. Anyone have any ideas?