--- parser3/src/main/pa_request.C 2008/06/11 11:38:41 1.296 +++ parser3/src/main/pa_request.C 2008/07/15 12:54:37 1.298 @@ -5,7 +5,7 @@ Author: Alexandr Petrosian (http://paf.design.ru) */ -static const char * const IDENT_REQUEST_C="$Date: 2008/06/11 11:38:41 $"; +static const char * const IDENT_REQUEST_C="$Date: 2008/07/15 12:54:37 $"; #include "pa_sapi.h" #include "pa_common.h" @@ -14,7 +14,7 @@ static const char * const IDENT_REQUEST_ #include "pa_vclass.h" #include "pa_globals.h" #include "pa_vint.h" -#include "pa_vmethod_frame_global.h" +#include "pa_vmethod_frame.h" #include "pa_types.h" #include "pa_venv.h" #include "pa_vmath.h" @@ -126,7 +126,7 @@ Request::Request(SAPI_Info& asapi_info, form(*new VForm(charsets, arequest_info)), mail(*new VMail), response(*new VResponse(arequest_info, charsets)), - cookie(*new VCookie), + cookie(*new VCookie(charsets, arequest_info)), console(*new VConsole), // private @@ -306,9 +306,6 @@ struct timeval mt[10]; gettimeofday(&mt[0],NULL); #endif try { - // filling cookies - cookie.fill_fields(request_info); - // filling mail received mail.fill_received(*this); @@ -405,7 +402,7 @@ gettimeofday(&mt[2],NULL); if(const Method *method=junction->method) { // preparing to pass parameters to // @postprocess[data] - VMethodFrameGlobal frame(/*method->name, */ *junction, 0/*no parent*/); + VMethodFrame frame(/*method->name, */ *junction, 0/*no parent*/); frame.set_self(main_class); frame.store_param(*body_value); @@ -467,7 +464,7 @@ t[9]-t[3] if(const Method *method=junction->method) { // preparing to pass parameters to // @unhandled_exception[exception;stack] - VMethodFrameGlobal frame(/*method->name, */ *junction, 0/*no caller*/); + VMethodFrame frame(/*method->name, */ *junction, 0/*no caller*/); frame.set_self(main_class); // $exception