src/session.php
private static function get_cookie_name($type=null) {
	if (is_null($type)) {
		$type = $_SESSION['_session_type'];
	}
	
	return self::COOKIE_NAME_PREFIX.'-'.$type;
}
private static function get_cookie_name($type=null) {
	if (is_null($type)) {
		$type = $_SESSION['_session_type'];
	}
	
	return self::COOKIE_NAME_PREFIX.'-'.$type;
}
private static function get_cookie_name ( $ type = null ) { if ( is_null ( $ type ) ) { $ type = $ _SESSION [ '_session_type' ] ; } return self :: COOKIE_NAME_PREFIX . '-' . $ type ; }
generates a key for the session cookie

@param  string $type one of the ::TYPE_* consts
defaults to the type of the current session
@return string       a concatenation of the base (see ::COOKIE_NAME_PREFIX) and the type
i.e. prefix + '-temporary'
generates a key for the session cookie