Hello,
I am working on a new site that is database driven and I am writing all my own scripts. There are many members on this site, and I have a simple form that allows an administrator to edit their information. When an admin clicks on the "Add/Edit Member" link, they are brought to a page which interprets its action using GET. The site tries to get form information from a dropdown and submit button to populate the fields. Obviously, if a member has just clicked on the link without submitting this form, there will be no form information to get. Sounds simple, right?
Somehow, if you are logged in as an admin and you click this link for the first time, you are brought to the page with fields filled in based on the session variables for some reason. Then, if you change the form to edit a different member, the session variables appear to change, which causes the userid and first/last names to change, which is effectively like switching users. This behavior is unacceptable. I had it working on my local, but when I moved to remote, it died. Suggestions?