I call the Desinger so on
Code: Select all
http://localhost/sds/reportengine/index.php?stimulsoft_client_key=DesignerFx&stimulsoft_report_key=C:/data/sds/dokumente/template/UGS_TM_CAVERN_LEACHING/UGS_TM_CAVERN_LEACHING.mrt
Also, the store in session variables is useless, because the callback seems to no longer point of the session ....
This should be at the server-side solution for storing the templates are changed something ....
What should you do?
First, they passed with session_id on index.php:
Code: Select all
http://localhost/sds/reportengine/index.php?session=7700c67b58d8776555dad00f080384b9&stimulsoft_client_key =...
Code: Select all
$ session = sti_get_parameter_value ("session");
session_id ($ session);
session_start ();
$ client_key sti_get_parameter_value = ("stimulsoft_client_key");
$ report_key sti_get_parameter_value = ("stimulsoft_report_key");
Code: Select all
if (!empty($report_key)) $_SESSION['sds']['reportengine']['report_key'] = $report_key; # Name reporttemplatefile
if (!empty($client_key)) $_SESSION['sds']['reportengine']['client_key'] = $client_Key; # call mode
Code: Select all
function sti_save_report ($ report)
{
$ result = "-1";
$report_key = $ _SESSION['report_key'];
If (empty ($report_key))
{
$result = "0";
# Now save the changes in server-side file .....
}
else
{
$result = "File not Found";
}
return $result;
}