How to read Session timeout value from web.config using javascript in JS file
<p>Can anyone please guide me to read the value of Session timeout value using javascript contained in a .js file.</p>

<p>I need to access the value in a javascript file and process the value.</p>

<p>I tried to follow the below approach in a test.js file but it is not working:</p>

<pre><code>var sessionTimeout = &lt;%= Session.Timeout %&gt;;
alert(sessionTimeout);
</code></pre>
