Dashboard > ringside > ... > Cross Network Identity Mapping > Infinite Session Code
Infinite Session Code Log In | Sign Up   View a printable version of the current page.
<?php
require_once('ringside/api/clients/RingsideApiClients.php');
$appapikey = 'YOUR_API_KEY';
$appsecret = 'YOUR_SECRET';

$ringside = new RingsideApiClients($appapikey, $appsecret);

// force a login page
$ringside->require_frame();
$user = $ringside->require_login();

// Echo the "infinite session key" that allows the application to call APIs using this session
echo $ringside->api_client->session_key;
?>
Added by Jason Kinner , last edited by Jason Kinner on Apr 11, 2008
Labels: 
(None)