06-27-2019, 07:27 AM
(06-26-2019, 09:28 PM)Alexandre Machado Wrote: Do you have some code in OnBrowserCheck event? It is interesting to note that user agent string of browsers are empty which suggests me that you might be creating a TFirefox instance as a fall back maybe?
Yes, not all are Firefox. On the sample I have, most are, though.
Yes, I have code in OnBrowserCheck and you are right, if the browser is TOther creates TFirefox instance:
Code:
if (rBrowser is TOther) then
begin
rBrowser.Free;
// accept the unknown browser as Firefox (probably the best idea)
rBrowser := TFireFox.Create(TFireFox.MIN_VERSION);
end
I can comment it out if you think it will help find how those ghost sessions are created.