Login

It is possible to have custom authentication with Flashcommander.

For an example check bin-release/flashcommander.php: – there are 2 things to do:

  1. create the user session: $_SESSION['flashcommander_username'] = "user";
  2. pass the gateway url in flashvars: flashvars="gateway=http://localhost/amfphp/gateway.php"

Flashcommander will skip the login screen and will assume that the “user” is logged in.

Warning: if the session is not created, you will get remote errors in Flashcommander.

2 Comments