jeudi 3 mars 2016

session_start() not working on xampp

I am trying to start a session using session_start() function. I am using xampp's server. But whenever I include this code, the page doesn't load. If I remove this code, the page loads perfectly. Is it a problem with xampp? This is the code placed at the very beginning of the file without any whitespaces before php tag.

<?php
// Start the session
session_start();
?>

Can somebody help me with this?

Aucun commentaire:

Enregistrer un commentaire