Howzit,
The first thing i noticed ...
open(/tmp\sess_a1c40f1e51d34760eb047e976b402315, O_RDWR) failed: No such file or directory (2) in d:\belajar\php belajar\session\buatsesi.php on line 2
You are running php on a windows box right? I assume, looking at d:\belajar\ ...etc
But /tmp is a folder on Linux machines. Did you copy and paste code from somewhere that was intended for Linux?
Secondly. In your code, just make sure that before you have the <html> tag to do all your session work like session_start(). As was already pointed out, you can't have html tags and then start the session or do sesison work. This needs to happen before you send the php page.
hope that helps
hagen