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/recpt/librarymain.cpp

    r22744 r25560  
    3636
    3737#include "action.h"
     38#include "ispersistentaction.h"
    3839#include "browserclass.h"
    3940
     
    9697  keydbclass *kdb = new keydbclass(gsdlhome);
    9798
    98   add_all_actions(recpt,udb,kdb);
     99  add_all_actions(recpt,udb,kdb,isNotPersistent); // apache (without mod_gsdl) is not a persistent server
    99100  // Note: these actions will become invalid at the end of this function.
    100101  // => We will retrieve them from the receptionist and delete them
Note: See TracChangeset for help on using the changeset viewer.