title: Arduino Uno WiFi data storage after refresh
body: <p>I am currently experimenting with implementing a WiFi based communication display with a piezoelectric based scoring target.</p>
  
  <p>The target hardware works as intended at this early stage with different analog pins serial printing different scores when they sense an impact.</p>
  
  <p>I am trying to translate the <code>serial.print</code> to <code>client.print</code> using the Arduino webserver template, but my printed data is removed after each refresh. Is there a way to store</p>
  
  
  
  <pre class="lang-cpp prettyprint-override"><code>client.println(" your score is ");
  client.println(score);
  </code></pre>
  
  <p>without using SQL and PHP?</p>
  
  <p>I have attached the code section, with the original template, in question below.</p>
  
  <pre class="lang-cpp prettyprint-override"><code>void WebServer(WifiData client) {
      client.println("HTTP/1.1 200 OK");
      client.println("Content-Type: text/html");
      client.println("Connection: close");
      client.println("Refresh: 0.5");  // refresh the page automatically every    
      client.println();
      client.println("&lt;html&gt;");
      client.println("&lt;head&gt; &lt;title&gt;Auto Target v0.2&lt;/title&gt; &lt;/head&gt;");
      client.print("&lt;body&gt;");
  
      for(int analogChannel = 0; analogChannel &lt; 1; analogChannel++) {
          int sensorReading = analogRead(analogChannel);
          client.print("analog input ");
          client.print(analogChannel);
          client.print(" is ");
          client.print(sensorReading);
          client.print("&lt;br/&gt;");
  
          val = analogRead(analogPin1);
          if(val &gt; threshold) {
  
              client.println("Hit 1!");
              score = score + 5;
  
              if (score &gt;= 100) {
                  client.println("Congrats! You Scored 100 POINTS!");
              }
              client.print("YOUR SCORE ");
              client.println(score);
  
              delay (800);
          }
  </code></pre>