I am trying to get a cookie when Main component is invoked. I overrode
takeValuesFromRequest, and I could not get it to working. The
following code is what I wrote in Main.m
@implementation Main
-(void)takeValuesFromRequest:(WORequest *)someRequest
inContext:(WOContext *)someContext
{
[super takeValuesFromRequest:someRequest inContext:someContext];
remote_user =(NSString *)[someRequest headerForKey:@"REMOTE_USER"];
return;
}
I was thinking, during the initialization of Main, it may not use
takeValuesFromRequest method. Any help is grately appreciated. Thanks
in advance.
Sattar Shaik