title: Saving the login after refreshing the page
body: <p>I have created a unique username generator. The problem is that it doesn't get saved in the form after refreshing the page.</p>
  <p>Is there a way to stop this?</p>
  <p>HERE IS THE LOGIN GENERATION CODE:</p>
  <pre><code>&lt;div&gt;
       &lt;label for=&quot;username&quot;&gt;Ваш логін&lt;/label&gt;
       &lt;input type=&quot;text&quot; name=&quot;username&quot; value=&quot;' .
           (strval(bin2hex(openssl_random_pseudo_bytes(1)))) . date(&quot;Y&quot;) . 
           (strval(bin2hex(openssl_random_pseudo_bytes(1)))) . date(&quot;d&quot;) . 
           (strval(bin2hex(openssl_random_pseudo_bytes(1)))) . date(&quot;m&quot;) . 
           (strval(bin2hex(openssl_random_pseudo_bytes(1)))) . '&quot; 
           readonly=&quot;readonly&quot;&gt;  
  &lt;/div&gt;
  </code></pre>