Changeset 2161


Ignore:
Timestamp:
03/04/10 13:35:00 (14 years ago)
Author:
viani
Message:

Ticket #951 - Corrigida validação de sessão nas chamadas ajax de processos

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sandbox/workflow/branches/603/index.php

    r795 r2161  
    1414{ 
    1515        /* in case it's an Ajax call from the processes, then check for expired session */ 
    16         if (($_GET['menuaction'] == 'workflow.run_activity.goAjax') && ($_SERVER['HTTP_CONNECTION'] == 'close')) 
     16        if (($_GET['menuaction'] == 'workflow.run_activity.goAjax')) 
    1717        { 
    18                 if (empty($_SESSION)) 
     18                if (empty($_SESSION['phpgw_session']['session_id'])) 
    1919                { 
    2020                        /* the session is expired, return a NanoAjax exception */ 
Note: See TracChangeset for help on using the changeset viewer.