Hello everyone,
I am trying to understand this concept but its truly confusing. I know that javascript is not server side, but I would like to have an effeicient way to retreive a sessions' value, please inform of any methods, I have tried the following
<script>
var MyClientSideVar = <%= Session("MySessionVar")%>;
alert(MyClientSideVar);
</script>
Its still not clear, how would this give me a value of a string stored in a session?