I have uploaded all my php pages to the server and everything runs perfectly fine. There is just one problem. When i click the refresh button on any page, the user is automatically logged out (session destroyed) and is directed to the login page. When i was refreshing the page on my local server, there was no problem like this. Is there any solution to this problem?