ギコナビ
修订版 | 09c9b76139fab0aae29805361dd48491ba556632 (tree) |
---|---|
时间 | 2011-02-19 23:45:56 |
作者 | h677 <h677> |
Commiter | h677 |
書き込み完了時にCookieの更新をするようにした。
@@ -826,6 +826,7 @@ begin | ||
826 | 826 | begin |
827 | 827 | FSambaTimer.WriteSambaTime(Now()); |
828 | 828 | end; |
829 | + GetCookie(Indy.CookieManager, Board); | |
829 | 830 | State := gdsComplete; |
830 | 831 | end else if ResultType = grtCookie then begin |
831 | 832 | //[vh~ |
@@ -907,6 +908,8 @@ begin | ||
907 | 908 | 'MûÌ`¯Ìðì¬Å·Bø«Ô·Èç¢Ü¾B(QªÙÇ©©èÜ·)' + #13#10 |
908 | 909 | , 'mF', |
909 | 910 | MB_OK or MB_ICONQUESTION); |
911 | + Board.PON := ''; | |
912 | + Board.SPID := ''; | |
910 | 913 | GetCookie(Indy.CookieManager, Board); |
911 | 914 | // `¯ÌÌÛ¶ |
912 | 915 | GikoSys.Setting.WriteBoukenSettingFile; |
@@ -993,10 +996,12 @@ begin | ||
993 | 996 | if AnsiPos('«±ÝªIíèܵ½', ResponseText) <> 0 then |
994 | 997 | Result := grtOK |
995 | 998 | else if (AnsiPos('dqqnqFMûÌ`¯Ìðì¬Å·', ResponseText) > 0) |
996 | - //(AnsiPos('dqqnqFCsª«èܹñ', ResponseText) > 0) or G[µ¢ | |
997 | - //(AnsiPos('dqqnqFLvª«èÈÄXbh§Ä', ResponseText) > 0) ) G[µ¢ | |
998 | 999 | and (AnsiPos(RES2CH_COOKIE, ResponseText) > 0) then |
999 | 1000 | Result := grtBouken |
1001 | + else if ( (AnsiPos('dqqnqFCsª«èܹñ', ResponseText) > 0) or // G[µ¢ | |
1002 | + (AnsiPos('dqqnqFLvª«èÈÄXbh§Ä', ResponseText) > 0) ) // G[µ¢ | |
1003 | + and (AnsiPos(RES2CH_COOKIE, ResponseText) > 0) then | |
1004 | + Result := grtError | |
1000 | 1005 | else if ( AnsiPos('NbL[ªÈ¢©úÀØêÅ·', ResponseText) > 0) or |
1001 | 1006 | (AnsiPos('<title>NbL[mFI</title>', ResponseText) > 0) or |
1002 | 1007 | (AnsiPos('<title>¡NbL[mFI¡</title>', ResponseText) > 0) or |