note 108994 deleted from function.session-start by danbrown
| From: | danbrown@php.net | Date: | Wed, 13 Jun 2012 15:28:08 +0000 |
| Subject: | note 108994 deleted from function.session-start by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-188577@lists.php.net to get a copy of this message | ||
Note Submitter: Manuel Carracedo
----
Hi,
I have a huge problem with session_vars and mobile 3g connections.
We have a virtual campus that is accessed with username and password. On every page verifies that
the user is logged with the following code:
<?PHP session_start();
//Avoid not logged users
if ($_SESSION['auth']!=true)
{
session_unset();
header('Location:index.php'); // login page
exit;
}
When a user tries to download a file and uses a 3G connection, sometimes loses its session variable
that identifies who is logged in, and send the user to the login page.
We have tried and fail to reproduce the error. We assume that may depend on the conditions of the 3G
connection.
All users who use a dongle 3g fails with a laptop.