Resolution: This WAS session_start(). It's a bug with MAC FIREFOX. Everything else is fine. I was going nuts for a 10-hour day, just because of my browser. I found out doing more searching that MAC FIREFOX has this issue. That's unfortunate.
Original post below:
_______________________
I'm working on a login system, and every time I use session_start, the page will hang and nothing happens.
The beginning of the page looks like this
Code: Select all
<?php
session_start();
//more code
?>
And when I try to view the page it just freezes on "waiting for mysite.com"
But when I change it to this:
Code: Select all
<?php
//session_start();
//more code
?>
The page loads totally fine. I've looked everywhere on the web, and people are having this problem but I've found NO solution. Putting ob_clean() before it seems to slightly help, sometimes, but not really. Is this a problem with my configuration? I've got a dedicated server which I can edit any configurations on, but I don't know anything about php configurations.
Please help! Thank you.