My PHP script has a login form - after the id & pw are verified, I do session_start(), then set the session variables and go to the AdminMain.php script, as follows:
session_start();
$admin_id = $row[0];
$_SESSION['login_type'] = $login_type;
$_SESSION['admin_id'] = $admin_id;
$_SESSION['login_type'];
session_write_close();
header ("Location: AdminMain.php");
exit();
I'm getting the warning:
Warning: session_start(): open(/services/webdata/php_sessions/sess_846ebd117fee9006ac52971575a777c7, O_RDWR) failed: File too large (27) in /services/webpages/e/a/eastcoastsalon.com/public/Administration/AdminLogin.php on line 60
Line 60 is the session_start(); command.
This just started happening. The code has been running fine up to now. I've tried destroying the session before the session_start() but it says there's no session to destroy. What can be causing this?
Thanks fo any help.
Marilyn
session_start();
$admin_id = $row[0];
$_SESSION['login_type'] = $login_type;
$_SESSION['admin_id'] = $admin_id;
$_SESSION['login_type'];
session_write_close();
header ("Location: AdminMain.php");
exit();
I'm getting the warning:
Warning: session_start(): open(/services/webdata/php_sessions/sess_846ebd117fee9006ac52971575a777c7, O_RDWR) failed: File too large (27) in /services/webpages/e/a/eastcoastsalon.com/public/Administration/AdminLogin.php on line 60
Line 60 is the session_start(); command.
This just started happening. The code has been running fine up to now. I've tried destroying the session before the session_start() but it says there's no session to destroy. What can be causing this?
Thanks fo any help.
Marilyn