DB2 PHP Generator online Help
Prev | Return to chapter overview | Next |
IsCurrentUserLoggedIn
Checks if the current visitor is a logged in user. This is useful when the guest access is enabled in your application.
Signature:
function IsCurrentUserLoggedIn()
Example
if (!$this->IsCurrentUserLoggedIn()) {
// perform some actions for guest
}
Prev | Return to chapter overview | Next |