Sign in to follow this  
jlomeli

Simultaneous Users and server side XML file.

Recommended Posts

Hello.

My code follows your basic suggeston for php:

<?php

//We've included ../Includes/FusionCharts.php, which contains functions

//to help us easily embed the charts.

include("../Includes/FusionCharts.php");

?>

<HTML>

 <HEAD>

<TITLE>FusionCharts - Simple Column 3D Chart</TITLE>

 </HEAD>

 <BODY>

 <?php

//Create the chart - Column 3D Chart with data from Data/Data.xml

echo renderChartHTML("../../FusionCharts/Column3D.swf", "Data/Data.xml", "", "myFirst", 600, 300, false);

 ?>

Using this example it seems that if multiple users hit the server at the same time they may get a chart using the data.xml file generated for another user. Is this correct?  Do you have a recommendation for session control? Or any way to ensure each user gets his own chart data?

Please advise.

Thank you.

 

JL

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this