PM-1378 Cuando se pierde la sesión el Case Tacker se lanza un Runtime Error que indica "the row '' in table CASE_TRACKER doesn't exist!.

Causa. 	Este tipo de error es generado por lo general cuando hacemos inicio de sesiones dobles desde un mismo
		navegador(Chrome, Firefox or IE) a un mismo server. Es decir en este caso asumo que se tenia abierto processamker(admin), y paralelamente
		en otro tab se tenia abierto Tracker. Lo cual acasiono que de alguna u otra manera se pisaran las sesiones.

SolucióNo abrir dos sesiones haciendo llamada a un mismo server. Ademas si adiciono una nueva validacion.
		  if (! isset( $_SESSION['PROCESS'] ) || ! isset( $_SESSION['APPLICATION'] ) ) {
		    	G::header( 'location: login' );
		  }
This commit is contained in:
dheeyi
2015-02-12 14:08:49 -04:00
parent 9f8be84cae
commit c9a62416bd
4 changed files with 19 additions and 19 deletions

View File

@@ -22,13 +22,13 @@
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*/
/*
* dynaforms & documents for Case Tracker
*
* @author Everth S. Berrios Morales <everth@colosa.com>
*
/*
* dynaforms & documents for Case Tracker
*
* @author Everth S. Berrios Morales <everth@colosa.com>
*
*/
if (! isset( $_SESSION['PROCESS'] )) {
if (! isset( $_SESSION['PROCESS'] ) || ! isset( $_SESSION['APPLICATION'] )) {
G::header( 'location: login' );
}
$G_MAIN_MENU = 'caseTracker';

View File

@@ -22,13 +22,13 @@
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*/
/*
* Hystory case for Case Tracker
*
* @author Everth S. Berrios Morales <everth@colosa.com>
*
/*
* Hystory case for Case Tracker
*
* @author Everth S. Berrios Morales <everth@colosa.com>
*
*/
if (! isset( $_SESSION['PROCESS'] )) {
if (! isset( $_SESSION['PROCESS'] ) || ! isset( $_SESSION['APPLICATION'] ) ) {
G::header( 'location: login' );
}

View File

@@ -22,13 +22,13 @@
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*/
/*
* History messages for Case Tracker
*
* @author Everth S. Berrios Morales <everth@colosa.com>
*
/*
* History messages for Case Tracker
*
* @author Everth S. Berrios Morales <everth@colosa.com>
*
*/
if (! isset( $_SESSION['PROCESS'] )) {
if (! isset( $_SESSION['PROCESS'] ) || ! isset( $_SESSION['APPLICATION'] )) {
G::header( 'location: login' );
}
$G_MAIN_MENU = 'caseTracker';

View File

@@ -29,7 +29,7 @@
*
*/
require_once 'classes/model/Process.php';
if (! isset( $_SESSION['PROCESS'] )) {
if (! isset( $_SESSION['PROCESS'] ) || ! isset( $_SESSION['APPLICATION'] )) {
G::header( 'location: login' );
}
$G_MAIN_MENU = 'caseTracker';