How can i pass a codeigniter session value through ajax : <p>is there anyway that i can pass a codeigniter session value through ajax and get results back ?my ajax request as follows </p>

<p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
<div class="snippet-code">
<pre class="snippet-code-js lang-js prettyprint-override"><code>$.ajax({
        method :'GET',
        url: baseUrl+'ajaxcontroller/LoadData_To_View',
        success:function(data){
        $('#item').html(data);
        console.log(data);
        },
        complete: function(){
        $('#loadingImage2').hide();
        },
        error:function (xhr, ajaxOptions, thrownError){alert(thrownError);}
        });</code></pre>
</div>
</div>
</p>
