This is driving me mad. For some reason this session just won't write. I've looked over the this and have tried the solutions presented and its still just not functioning. If you need the entire class I'll post that but this is the snippet I'm dealing with. For some reason if I place it outside my controller without a redirect it writes just fine.

PHP Code:
$_SESSION['id'] = $user->id;
$_SESSION['access'] = $user->access;
$_SESSION['name'] = $user->name;
session_write_close();
header('Location: '.$this->path->makeUrl());
exit();