if ([context savePageRequired])
[session savePage:[context page]];
- [self logWithFormat:@"saving session %@", [session sessionID]];
+ [self debugWithFormat:@"saving session %@", [session sessionID]];
if ([session storesIDsInCookies]) {
- [self logWithFormat:@"add cookie to session: %@", session];
+ [self debugWithFormat:@"add cookie to session: %@", session];
[self addCookiesForSession:session
toResponse:response
inContext:context];
}
-#if 1
+#if 1 // TODO: explain that
[application saveSessionForContext:context];
#else
[self saveSession:session