When I run Cookie Visitor DEMO in my PC, It shows EConvertError exception 'invalid argument to date encode'.
Then I debug and find the reason is that some cookie with expires like '9999-XX-XX' causes an exception in CefTimeToDateTime function.
Because the value '9999-XX-XX' after the statement "SystemTimeToTzSpecificLocalTime(nil, @TempTime, @TempTime)" will become '10000-XX-XX' in my place, which exceeds the valid value of TDateTime.
Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
Exception in Cookie Visitor DEMO
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Exception in Cookie Visitor DEMO
Thank you again!
I'll fix that as soon as I can.

I'll fix that as soon as I can.
- salvadordf
- Posts: 4564
- Joined: Thu Feb 02, 2017 12:24 pm
- Location: Spain
- Contact:
Re: Exception in Cookie Visitor DEMO
It should be fixed now.
Please, download CEF4Delphi again from GitHub.
Please, download CEF4Delphi again from GitHub.