<?php
    require '/koneksi.php';
    
    function get_session($_key){   
        $value = (isset($_SESSION[$_key]))? $_SESSION[$_key]: null;   
        return($value);  
    }
    
    function set_session($_key, $_value){   
        $_SESSION[$_key] = $_value;  
    }    
    
    function destroy_session($_key){   
        unset($_SESSION[$_key]);  
    } 	
	
?>