We are sorry. The service is currently down due to maintenance activities. The service interruption will take no more than 30 minutes.
Chatwee

ChatweeV2_Session::setSessionId

Sets the Chatwee client session. It requires the session ID, which can be obtained with the ChatweeV2_SsoUser::login method.


<?php

  require_once(dirname( __FILE__ ) . "/ChatweeV2_SDK/Chatwee.php");

  ChatweeV2_Configuration::setChatId(YOUR_PERSONAL_CHAT_ID);
  ChatweeV2_Configuration::setClientKey(YOUR_PERSONAL_CLIENT_KEY);

  try {
    ChatweeV2_Session::setSessionId($sessionId);
    echo "The session ID has been set";
  } catch(Exception $exception) {
    echo "An error occured: " . $exception->getMessage();
  }
?>
	
Name Description Type Mandatory Remarks
sessionId ID of the session string yes the value obtained from the ChatweeV2_SsoUser::login method