Use session inside script tag
<p>my code is</p>

<pre><code>    $(document).ready(function () {

        var control_btn21 = $('.mine'), interval21;

        $.ajax_upload(control_btn21, {
            action: 'FileHandler.ashx',
            name: 'control21',
            onSubmit: function (file, ext) {



                $('#uploadResume').addClass("Uploading");
                disableBtn = true;


                this.disable();

                interval21 = window.setInterval(function () {

                    if (control_btn21.text().length &lt; 13) {
                        //          control_btn21.text(control_btn21.text() + '.');
                    } else {
                        //        control_btn21.text('Uploading');
                    }
                }, 200);
            },
            onComplete: function (file, response) {

                $('#uploadResume').removeClass("Uploading");

                disableBtn = false;
                window.clearInterval(interval21);

                this.enable();

                var file_added = file;

                var path = response;

                path = strip(path);
                alert(path);
                   **&lt;%# Session["path"].ToString() %&gt; = path;**

                $('.pathing').text(path);
                $('.testing').attr("src", "temp/" + path);
            }
        });
    });
</code></pre>

<p>in this i want to use the session to store the  value of variable <strong>path</strong> but i am not able to do that please help and find what's the actual problem</p>

<p>thanks</p>
