Ignore:
Timestamp:
2012-05-09T20:08:01+12:00 (12 years ago)
Author:
ak19
Message:

Dr Bainbridge has introduced the isPersistentAction (add the a=is-persistent to the library url). It is true for server.exe and when using mod_gsdl, but false for library.cgi which uses the apache web server (when not using mod_gsdl).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/w32server/cgiwrapper.cpp

    r24508 r25560  
    6060#include "pageaction.h"
    6161#include "pingaction.h"
     62#include "ispersistentaction.h"
    6263#include "queryaction.h"
    6364#if defined(USE_SQLITE)
     
    348349pageaction *apageaction = NULL;
    349350pingaction *apingaction = NULL;
     351ispersistentaction *aIsPersistentAction = NULL;
    350352tipaction *atipaction = NULL;
    351353queryaction *aqueryaction = NULL;
     
    574576    apingaction = new pingaction();
    575577    recpt.add_action (apingaction);
     578  }
     579 
     580   if (aIsPersistentAction == NULL) {
     581    // server.exe is persistent, so passing enum value isPersistent
     582    aIsPersistentAction = new ispersistentaction(isPersistent);
     583    recpt.add_action (aIsPersistentAction);
    576584  }
    577585 
Note: See TracChangeset for help on using the changeset viewer.