Okay... I'm sat here happily working on my webpage.. when wow... WOW... this is SO slow loading!! So I play around with a few things.. I rename my includes/ directory, so I know its nothing in there... that leaves on thing it could be. My index.php. so, I open that and comment out EVERYTHING at the top:
PHP Code:
session_start(); ob_start(); include_once("includes/headers.php");
...And the page loads instantly.
I uncomment the include_once line and the ob_start line.. and it loads instantly again. I uncomment the session_start line and... wow, so slow!
And here, I dont mean slow as in 2 seconds... more like 8 minutes to actually get the page to connect, then another 2 to get it to load up.
Has anyone had trouble with session_start this way or have any info on why this is happening? This has really confused me.. for over a year and a half I've been using session_start ive not had any trouble with it, until now...
Thanks,
AxE
EDIT: FYI - It went okay again about two minutes ago.. now its gone bad again... maybe a server problem or a server lag? I'll see what its like tommorow morning.
Last edited by AxE; 10-29-2005 at 09:46 PM..
|