Hi, I have some code attempting to use sessions. I put session_start() at the very top of the code after <?php ....well here it is.
<?php
session_start();
$user_id = $id;
session_register('user_id');
...and so on..
but i get an error right at line 2 where session_start() is! here's the error I get.
Warning: open(/tmp\sess_e4d5ce1064c4319e1616e0f6c3928898, O_RDWR) failed: m (2) in C:\apache\htdocs\login.php on line 2
Does this mean it's not installed correctly or what? How can I fix this? I'm using apache and php for windows, from phpTriad if anyone needs to know. Thanks for any help, as it is very important that I have sessions working soon. Thanks again,
Kev
😕