Pass Session Variable to javascript
<p>I'm tring to pass a session variable to javascript but not have success.
Searching stackoverflow i have found this discussion:
<a href="http://stackoverflow.com/questions/7363432/passing-session-variables-to-javascript">Passing Session variables to javascript</a></p>

<p>in my custom.js i have on header</p>

<pre><code>&lt;?php session_start(); ?&gt;

.. /// js code

strActionPage = CurrentPath + "upload_file.php?ation=store&amp;session_user_id=&lt;?php echo $_SESSION['session_user_id']; ?&gt;   "; //the ActionPage's file path
</code></pre>

<p>but i cant get session variable from upload_file.php page</p>

<p>where do I wrong?</p>

<p>Tks to all</p>
