title: session being remembered by browser
body: <p>I am developing a struts2 web application. When button click occurs, I would make a $getJSON call to a struts action and perform some operation on the java class. </p>
  
  <pre><code>$.getJSON('uponClickingBtn',function(data){
          if(data.status=="TRUE"){
              $('#test').attr('src','image/greenzx.png');
          }
          else{
              $('#test').attr('src','image/redzx.png');
          }       
      });
  </code></pre>
  
  <p>The java class would return a String, either "<code>TRUE</code>"/"<code>FALSE</code>". If the returned value is true, greenzx.png image would appear or else <code>redzx.png</code> image would appear. </p>
  
  <p>This process works fine for the first time. But when the same button is clicked again, call to the Java action class does not occur and the browser just returns the latest image. </p>
  
  <p>Say, if it is <code>greenz.png</code>, it would again be <code>greenz.png</code> instantly. </p>
  
  <p>My browser behaves as if it remembers the value over session which is undesirable. Is this anything to do with the browser setting or I will have to change my code?</p>
  
  <p>PS: I have a requirement to use <code>IE7</code>/<code>IE8</code> as the browser. It works well with <code>Firefox</code>. <code>IE</code> is the one where I experience this problem.</p>