Apr 4th, 2010, 5:35 AM
I have a client (username/passwort) whom i want to login automatically.
Therefore I'm using the following script:
The client is logged in and the client_form page appears but as soon as I click to view submissions of a form I'm logged out with the error message:
Please advise me what the problem is.
best regards, Hannes
Therefore I'm using the following script:
PHP Code:
<?php
require_once("global/api/api.php");
$account_info = array(
"username" => "username",
"password" => "password"
);
ft_api_start_sessions();
ft_api_login($account_info);
header("Location: index.php");
exit;
?>
The client is logged in and the client_form page appears but as soon as I click to view submissions of a form I'm logged out with the error message:
Quote:You do not have the permissions to access this page. You have been logged out.
Please advise me what the problem is.
best regards, Hannes