RE: [PHP] SESSIONS in javascript
might be a solution: don't use a javascript includepage, instead use the "inline code" method in a php.includefile, something like this include "javascript.inc"; where the javascript.inc (js.inc, js.php, javascript.php - your name, your choice) contains