UNB Components Code Reference

UnbSession::GetSessionUserId method

Gets the ID of the currently active session user.

public static function UnbSession::GetSessionUserId ();

Return value

A positive integer of the user ID, or 0 if no registered session user is active.

Exceptions thrown

BadMethodCallException 

If session not enabled.

Member of class: UnbSession

Implementation file: session.class.php, line 325

© 2011 Yves Goergen. UNB Components Homepage. Reference generated on 2011-02-22.