title: after jquery ajax call, i want to redirect to another page and want to print returned json data on that page
body: <p>i have a search button on index.aspx page, and when i click on it, jquery ajax is fired and json data is returned in 'success:function(jsondata)' block. now i want to go to search.aspx page and print this data there. i am new on jquery.Thanks</p>
  
  <pre><code>//jquery code on index.aspx page
  $('#searchsubmit').on('click', function (e) {
  
  
  
  
  
                  var key = $("#searchbox").val();
                  $.ajax({
                      url: "search.aspx/getResult",
                      type: "POST",
                      async: true,
                      data: JSON.stringify({ 'searchkey': key }),
                      contentType: "application/json; charset=utf-8",
                      dataType: "json",
                      success: function (jsondata) {
                          window.location.href = "http://localhost:50165/search.aspx";
                      // How to access json data on search.aspx
  
                          });
  
  
  
  
                      }
  </code></pre>