Possible Duplicate:
How to show Ajax requests in URL?
Like in Gmail, using PHP if we need to have similar functionality of navigating to different internal links, how could we do it?
For example, from inbox, a specific email gets opened and when I click back button it takes me back to inbox. The addresses are https://mail.google.com/mail/?shva=1#inbox
and #inbox/something
for a specific email.