hello
i still have not solve the session problem , (i will descripe the problem again)
i have written two pages below using session control to create svg tools each time i click on the link to the next page a dialoge box comes up called (download file) giving options to open or save or cancell or more info
is this to do with the configration of the php.ini or the server i use apache2
any one can help please and the codes that i used are below :
page1
<?php
session_start();
header("Content-type: image/svg+xml");
print('<?xml version="1.0" encoding="iso-8859-1"?>');
?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/SVG/DTD/svg10.dtd">
<svg width="500" height="500" viewBox="0 0 500 500">
<?php
$_SESSION['ses_vars']="hello world";
?>
<a xlink:href="zz.php"><text x="50" y="50">next</text></a>
</svg>
[B]page2[/B]
<?php
session_start();
header("Content-type: image/svg+xml");
print('<?xml version="1.0" encoding="iso-8859-1"?>');
?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" "http://www.w3.org/TR/SVG/DTD/svg10.dtd">
<svg width="500" height="500" viewBox="0 0 500 500">
<?php
echo ($HHP_SESSION_VARS['ses_vars']);
?>
<a xlink:href="zzz.php"><text x="50" y="50">next</text></a>
</svg>