Page 1 of 1

PHP Session and applet_http.js

Posted: Mon Dec 01, 2008 9:20 pm
by kippa
Hi,
I had a problem with the php server-side script (process.php) used in the applet_http.js: it couldn't read the session variables.
how the jfileupload support suggest me, the simplest thing to do is tranform the .js in applet_http.js.php.

just add:
<?
$sid="PHPSESSION=".session_id();
?>
.......
document.write('url="http://www.site.xxx/dir/process.php?<?=$sid;?>" ');
....

thanks