title: URL Requested too long in querystring
body: <p>I'm passing data on a page1 through a querystring onto page2, when a user clicks the button "send" the data is passed on the querystring and page2 gets the 'data=..' parameter from the querystring and shows it's value on the page.  </p>
  
  <p>The problem is that the data on page1 is created through the user by the input textbox and can be quite long. This gives us the following error when the user clicks "send"</p>
  
  <pre><code>URL Requested is too long
  </code></pre>
  
  <p>This is the code used to get the span element(submitted text by user) and convert it to a variable which is added onto the querylink:</p>
  
  <pre><code>$('#send').click(function() {
      var data_text = $('span').prop('outerHTML');
      window.location.href = 'http://swter.com/send.php?data=' + data_text + '';
      return false;
  });
  </code></pre>
  
  <p>Are there anyways around it apart from limiting the amount of chars a user can type?</p>