Php sessions not working! please help!


#1

I developed a site using PHP sessions
I’m using something like this:

session_start;
$_SESSION[“username”]=$_POST[“username”];

From there I’m calling the sessions with
session_start;
but it seems not to work. Locally using MAMP in my computer seems to work fine but here in Dreamhost seems like the sessions are not registered.

How do I have to handle variables in Dreamhost?