Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Active sessions problem
#21
(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.
Reply


Messages In This Thread
Active sessions problem - by ioan - 06-12-2019, 07:06 PM
RE: Active sessions problem - by kudzu - 06-12-2019, 09:53 PM
RE: Active sessions problem - by ioan - 06-13-2019, 01:25 PM
RE: Active sessions problem - by kudzu - 06-13-2019, 03:18 PM
RE: Active sessions problem - by DanBarclay - 06-13-2019, 08:38 PM
RE: Active sessions problem - by DanBarclay - 06-14-2019, 06:06 AM
RE: Active sessions problem - by ioan - 06-20-2019, 06:05 AM
RE: Active sessions problem - by ioan - 06-20-2019, 06:31 PM
RE: Active sessions problem - by ioan - 06-26-2019, 07:47 AM
RE: Active sessions problem - by ioan - 06-26-2019, 06:38 PM
RE: Active sessions problem - by ioan - 06-27-2019, 07:27 AM
RE: Active sessions problem - by ioan - 06-27-2019, 10:40 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)