Index

(application)

o2app_logout

boolean o2app_logout(string $exit_url, array $params)

Execute session logout: delete session record and destroy WEB session related context.
If any, after logout navigation will be redirected to provided URL.

A list of parameters to be POSTed to the exit-url can be passaed as associtative array, this way: ['par1'=>'val1', 'par2'=>'val2', ...]

If $exit_url is passed as (strict) TRUE then client will be redirected to a new session

Parameters:
  1. $exit_url
  2. $params