GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Description: An OS X application to build a standalone web site as an export from my photo album.
Homepage: http://bleu.west.spy.net/~dustin/projects/photosync/
Clone URL: git://github.com/dustin/photosync.git
If we're not going to log in, at least log out.
dustin (author)
Mon Feb 07 17:11:50 -0800 2005
commit  ec364494d6f6a2433aec2c2dea710244469a14ef
tree    5dee63c1ef7797937b4154009718cbd7e093431e
parent  50ef54bec50b77dd9d10602054bd76190c670e17
...
84
85
86
87
88
 
 
 
 
 
 
 
 
89
90
91
...
84
85
86
 
 
87
88
89
90
91
92
93
94
95
96
97
0
@@ -84,8 +84,14 @@
0
     
0
     [url release];
0
   } else {
0
- NSLog(@"Not authenticating to %@ - no username", base);
0
- rv=TRUE;
0
+ NSLog(@"Not authenticating (but logging out) %@ - no username", base);
0
+ NSURL *url=[[NSURL alloc] initWithString:
0
+ [base stringByAppendingString: @"/logout.do"]];
0
+ NSURLRequest *req=[NSURLRequest requestWithURL:url
0
+ cachePolicy:NSURLRequestReloadIgnoringCacheData
0
+ timeoutInterval:60.0];
0
+ rv=[self tryRequest: req];
0
+ [url release];
0
   }
0
   return(rv);
0
 }

Comments

    No one has commented yet.