OPeNDAP Hyrax Back End Server (BES)  Updated for version 3.8.3
BESApacheInterface.cc File Reference
#include <iostream>
#include "BESApacheInterface.h"
#include "BESMemoryManager.h"
#include "BESLog.h"
#include "TheBESKeys.h"
#include "BESMemoryGlobalArea.h"
#include "BESInternalError.h"
#include "BESUtil.h"
#include "BESBasicHttpTransmitter.h"
#include "BESAggregationServer.h"
#include "BESDataNames.h"
#include "BESDebug.h"
Include dependency graph for BESApacheInterface.cc:

Go to the source code of this file.

Macros

#define DEFAULT_ADMINISTRATOR   "cedar_db@hao.ucar.edu"
 
#define INCORRECT_REQUEST   (BES_NOT_FOUND_ERROR + 1)
 
#define INCORRECT_REQUEST_MSG   "undefined request"
 

Functions

void find_user_from_cookie (const char *cookie, string &user)
 Find and set the user from the cookie set in the browser. More...
 

Macro Definition Documentation

#define DEFAULT_ADMINISTRATOR   "cedar_db@hao.ucar.edu"

Definition at line 52 of file BESApacheInterface.cc.

#define INCORRECT_REQUEST   (BES_NOT_FOUND_ERROR + 1)
#define INCORRECT_REQUEST_MSG   "undefined request"

Function Documentation

void find_user_from_cookie ( const char *  cookie,
string &  user 
)

Find and set the user from the cookie set in the browser.

The cookie is of the format "name1=val1;name2=val2,...,namen=valn"

Find the cookie with the name defined in OPENDAP_USER_COOKIE and get the value of that key.

Definition at line 105 of file BESApacheInterface.cc.

Referenced by BESApacheInterface::initialize().