Php use $_SESSION for storing my vars
<p>Is it a good practise, to use the php session object, to store several of my variables, can be arrays of request results.</p>

<p>I need this method, because I would like to do the request in a php file, store the result and immediately, (depending on result) redirect to a page,<br>
It's probably not the best way, that's why I'm asking</p>

<p>thx for any advice,</p>

<p>edit: structure:</p>

<pre><code>index.html
handler.php
view1.php
</code></pre>

<p>in index.html, I've got a </p>

<pre><code>&lt;form action="handler.php" ...
</code></pre>

<p>in handler.php, I construct a request and get a result,</p>

<pre><code>if ($result-&gt;success) 
    header("location ./view1.php");
else 
    echo 'failed';
</code></pre>

<p>in view1.php, I would like to list the result array</p>
