Choose your database:
AnySQL
MySQL
MS SQL Server
PostgreSQL
SQLite
Firebird
Oracle
SQL Anywhere
DB2
MaxDB

Subscribe to our news:
Partners

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