Merge branch 'develop' into feature/JSONValue-Update

This commit is contained in:
Matt Bruce 2022-07-18 13:55:16 -05:00
commit ec8552ea12
2 changed files with 7 additions and 4 deletions

View File

@ -311,8 +311,8 @@
} }
MVMCoreLog(@"********************************* Cookie Sent *********************************"); MVMCoreLog(@"********************************* Cookie Sent *********************************");
[[[NSHTTPCookieStorage sharedHTTPCookieStorage] cookies] enumerateObjectsUsingBlock:^(NSHTTPCookie * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { [[[NSHTTPCookieStorage sharedHTTPCookieStorage] cookiesForURL:request.URL] enumerateObjectsUsingBlock:^(NSHTTPCookie * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
MVMCoreLog(@"Cookie Name: %@, Cookie Value: %@",obj.name, obj.value); MVMCoreLog(@"Cookie Name: %@, Cookie Value: %@, Domain: %@", obj.name, obj.value, obj.domain);
}]; }];
[[NSNotificationCenter defaultCenter] postNotificationName:MVMCoreNotificationGoingToServer object:nil]; [[NSNotificationCenter defaultCenter] postNotificationName:MVMCoreNotificationGoingToServer object:nil];

View File

@ -61,8 +61,11 @@
} }
- (BOOL)extendsAppSession { - (BOOL)extendsAppSession {
NSNumber *extendSessionFlag = [self.responseInfoMap optionalNumberForKey:@"appSessionExtended"]; //NSNumber *extendSessionFlag = [self.responseInfoMap optionalNumberForKey:@"appSessionExtended"];
return extendSessionFlag == nil || [extendSessionFlag boolValue]; // Default to YES if the key does not exist. //return extendSessionFlag == nil || [extendSessionFlag boolValue]; // Default to YES if the key does not exist.
// With the introduciton of NSA and OIDC tokens, we can no longer rely on BAU network touches to update our server session.
return NO;
} }
#pragma mark - Deprecated #pragma mark - Deprecated