I have recently written a website in PHP. My pages use sessions all starting with:
I use a query to control what part of the mysql database is displayed on each page. Each page is the same, only the query prompt changes and controls what section information is displayed.
The problem is that when the main page is first opened in the browser, the PHP session ID also is appended to the query string. This causes the software to think an invalid page is selected. If I refresh the page in any way this problem disappears and I must open another instance of the browser to make it reappear.
The website address is:
Does anyone have any idea why this problem is occuring and how to solve it?
Thanks for any help.