PHP Session and applet_http.js

Upload core product.
Post Reply
kippa
Posts: 1
Joined: Mon Dec 01, 2008 9:06 pm

PHP Session and applet_http.js

Post 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

Post Reply