[PHP] sessions problems :/

2001-08-31 Thread Rui Barreiros
$this->auth["username"]=$username; the data field passed to my session_write() still has the first value not $username instead. another question is, at what time of the script does php call my session_write function to update the registered session?! thanks all --

[PHP] writing while reading

2001-08-01 Thread Rui Barreiros
fd, LOCK_UN); $content = fread($fd, filesize("chats/$filename")); fclose($fd); return $content; } else { return ""; } } i put the non blocking option in flock while reading but still blocks and doesn't write, my question is it possible to write to a fi