set session from jquery to session in php
<p>i have a page in php to execute query. when i need the parameter from another page with session using jquery. so, how to set session in php from session in jquery. please check my code and give me solution. thanks...</p>

<pre><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"&gt;&lt;/script&gt;
&lt;script src="https://code.ciphertrick.com/demo/jquerysession/js/jquerysession.js?d56ac9"&gt;&lt;/script&gt;
&lt;script&gt;
$(document).ready(function(){ 
var sDecode = $.session.get("sesDecode"); 
alert(sDecode);      
}); 
&lt;/script&gt; 
&lt;?php
include('connection.php');  
$content= ==&gt; how to get " sDecode " ???
$upd = mysql_query("UPDATE t_modules set content='$content' where id_t_modules='3'") or die(mysql_error());  
?&gt;
</code></pre>