Lines Matching refs:id
18 function read($id) {
20 $session_id = $id;
21 echo "Read [${session_save_path},${id}]\n";
22 $session_file = "$session_save_path/".SESSION_FILE_PREFIX.$id;
28 function write($id, $session_data) {
30 $session_id = $id;
31 echo "Write [${session_save_path},${id},${session_data}]\n";
32 $session_file = "$session_save_path/".SESSION_FILE_PREFIX.$id;
41 function destroy($id) {
43 echo "Destroy [${session_save_path},${id}]\n";
44 $session_file = "$session_save_path/".SESSION_FILE_PREFIX.$id;
66 $id = ('PHPT-'.time());
67 echo "CreateID [${id}]\n";
68 return $id;
71 function validate_sid($id) {
73 echo "ValidateID [${session_save_path},${id}]\n";
74 $session_file = "$session_save_path/".SESSION_FILE_PREFIX.$id;
79 function update($id, $session_data) {
81 echo "Update [${session_save_path},${id}]\n";
82 $session_file = "$session_save_path/".SESSION_FILE_PREFIX.$id;