Session not working on Chrome and Firefox
<p>I'm on a local machine (127.0.0.1)
On login.php I create a session variable extracting value from DB</p>

<pre><code>$_SESSION['user_id'] = $row['user_id'];
</code></pre>

<p>On upload.php I call variable</p>

<pre><code>session_start();
$a = $_SESSION['user_id'];
</code></pre>

<p>And use variable on WHERE in a query:</p>

<pre><code>$result = mysql_query("SELECT * FROM users WHERE user_id='" . $_SESSION['user_id'] . "'");
$result = mysql_query("SELECT * FROM users WHERE user_id='" . $_SESSION['user_id'] . "'");
</code></pre>

<p>Problem is, both query working well on Internet Explorer but NOT Working on Chrome and Firefox.</p>

<p>Any advice to solve this?</p>
