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 328

© 2010 Yves Goergen. UNB Components Homepage. Reference generated on 2010-03-07.