title: php session not working when my page redirect from payment gateway server to my page
body: <p>i am creating ticket booking website using some api , i use json for get &amp; post values and creating php session's to pass data's to other pages,
  page 1 : creating session's
  page 2 : payment gateway (i checked session's payment page it works fine)
  page 3 : success page (after redirecting from payment gateway to my server page the session's are showing null values in chrome browser but works fine in Firefox).
  all suggestion's are welcome.thanks in advance.
  some code</p>
  
  <pre><code>&lt;?php
  session_start();
  if(isset($_REQUEST['blockTicketId'])!=''){
      $rootId= $_REQUEST['ruteId'];
      if( $_REQUEST['dropPoint_'.$rootId]!=''){ 
          $board = explode("_", $_REQUEST['dropPoint_'.$rootId]); 
      } 
      $_SESSION['formcity']=$_REQUEST['fromCity'];
      $_SESSION['tocity']=$_REQUEST['toCity'];
      $_SESSION['dateofjurny']=$_REQUEST['fromDate'];
      $_SESSION['pickup']=$board[0];
      $_SESSION['pickupTime']=$board[2];      
      $_SESSION['travelName']=$_REQUEST['travelNmae'];
      $_SESSION['seat']=$_REQUEST['selectedSeat_'.$rootId];
      echo $_SESSION['blockTicketNumber']=$_REQUEST['blockTicketId'];
      $_SESSION['mobno']=$_REQUEST['bookerMob'];
      $_SESSION['mailid']=$_REQUEST['bookerEmail'];
      $_SESSION['user']=$_REQUEST['UserName_1'];
      $_SESSION['amnt']=$_REQUEST['selectedSeatAmnt_'.$rootId];
  ?&gt;
  
  &lt;html&gt;
    &lt;head&gt;
    &lt;script&gt;
    function submitPayuForm() {
      var payuForm = document.forms.payuForm;
      payuForm.submit();
    }
    &lt;/script&gt;
    &lt;/head&gt;
    &lt;body onLoad="submitPayuForm()"&gt;
      &lt;form action="PayUMoney_form.php" method="post" name="payuForm"&gt;
        &lt;table&gt;
          &lt;tr&gt;
            &lt;td&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td&gt;&lt;/td&gt;
            &lt;td&gt;&lt;input style="visibility:hidden" name="amount" value="&lt;?php echo "1"; ?&gt;" /&gt;&lt;/td&gt;
            &lt;td&gt;&lt;/td&gt;
            &lt;td&gt;&lt;input style="visibility:hidden" name="firstname" id="firstname" value="&lt;?php echo $_REQUEST['UserName_1']; ?&gt;" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
            &lt;td&gt;&lt;/td&gt;
            &lt;td&gt;&lt;input style="visibility:hidden" name="email" id="email" value="&lt;?php echo $_REQUEST['bookerEmail']; ?&gt;" /&gt;&lt;/td&gt;
            &lt;td&gt;&lt;/td&gt;
            &lt;td&gt;&lt;input style="visibility:hidden" name="phone" value="&lt;?php echo $_REQUEST['bookerMob']; ?&gt;" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td colspan="4"&gt;&lt;input type="submit" style="visibility:hidden" value="Submit" /&gt;&lt;/td&gt;
          &lt;/tr&gt;
        &lt;/table&gt;
      &lt;/form&gt;
    &lt;/body&gt;
  &lt;/html&gt;
  
  &lt;?php 
  }
  ?&gt;
  </code></pre>