When I'm using my xampp as my server my code it's running every well but when I put my code on the host some of codes its not working. I have connected my database n my code successfully. E.g. When i want to take the data from database using sessions to identify the user who logged in n their information. It's giving me errors but when I do not use sessions it works but giving me everything on my database.