Jesus... You must be new on this ;-)
Go back and learn the basics of HTTP protocol and the you could start with PHP. But as for a solution to your problem... Use frames, use POST method instead of GET, use cookies and/or sessions (NOT RECOMMENDED!!!)
Wise man say: Learn to crawl before you try walking.
Happy Coding
/Andrin