/** Used by our flash embeds (on trusted domains) to use a site session cookie to seed a ws session without requiring a password. Uses the site cookie so must be accessed over a *.last.fm domain. * * @return Session A Session object. * * @static * @access public * @throws Error */ public static function getWebSession() { $xml = CallerFactory::getDefaultCaller()->signedCall('auth.getWebSession'); return Session::fromSimpleXMLElement($xml); }