Board.SPID := '';
Board.PON := '';
end;
+ // \96`\8c¯\82Ì\8f\91\83\8c\83x\83\8b\96ß\82é\96â\91è\91Î\89\9e
+ if (Board.Is2ch) and (AnsiPos('HAP=', Board.Cookie)>0) then begin
+ Board.Cookie := '';
+ end;
Send(Board.Cookie, Board.SPID, Board.PON, True);
end else begin
if not FSambaTimer.CheckSambaTime(Now()) then begin
Board.SPID := '';
Board.PON := '';
end;
+ // \96`\8c¯\82Ì\8f\91\83\8c\83x\83\8b\96ß\82é\96â\91è\91Î\89\9e
+ if (Board.Is2ch) and (AnsiPos('HAP=', Board.Cookie)>0) then begin
+ Board.Cookie := '';
+ end;
Send(Board.Cookie, Board.SPID, Board.PON, True);
end;
end;
end;
for i := 0 to curCookies.Count - 1 do begin
if (curCookies.Strings[i] <> '') then begin
- if (AnsiPos(VAL_HAP + '=', curCookies.Strings[i]) <> 1 ) then begin
- ABoard.Cookie := ABoard.Cookie + curCookies.Strings[i] + '; ';
- end;
+ ABoard.Cookie := ABoard.Cookie + curCookies.Strings[i] + '; ';
end;
end;
finally
function TEditorForm.getHeaderStr(const ACOOKIE: string; const SPID : string;
const PON : string; const HAP : string; Board : TBoard) : string;
begin
- Result := ACOOKIE;
+ Result := ACOOKIE;
+
if SPID <> '' then
Result := Result + 'SPID=' + SPID + '; ';
if PON <> '' then