|
Stomp::getSessionIdstomp_get_session_idGets the current stomp session ID DescriptionObject-oriented style (method):
public stringfalse Stomp::getSessionId()
Procedural style: stringfalse stomp_get_session_id(resource
$link )Gets the current stomp session ID. Parameters
Return Values
string session id on success or Examples
Example #1 Object-oriented style
The above example will output something similar to: string(35) "ID:php.net-52873-1257291895530-4:14"
Example #2 Procedural style
The above example will output something similar to: string(35) "ID:php.net-52873-1257291895530-4:14" |