$newhash = session::create_hash($sha, $userid, $come_from, $go_to, $sessionid, $time, $hash_secret);