the session id can be retrieved by using:
<?php echo(session_id(); ?>
if you look at the code on the cart page, you should be able to see the code for returning the grand total:
<?php echo $WA_Store_Cart->GrandTotal(); ?>
as well as other cart variables.