Synapse - problems with browsers?
lazarus / 38-Networking and Web Programming
----------------------------------------------------------------------
kmk68 · 2017-11-06 10:08
Hello.
I am doing a remote view of program parameters written in FPC.
I'm using Synapse and websocket.
As an illustration of states I would like to use images, but I have
problems:
I can not handle sending pictures. The whole page is generated
ok except for
. Where should the
directory be?
in relation to the program? I put in lazarus \ MyProgram \ images \ ..
does not work.
I tried the absolute path
,
it does not work.
It only works if the files are on the computer where the browser is,
, ok. But ... works
only on IE.
On Google Chrome or Mozilla, not ... :-(
What am I doing wrong?
Thanks in advance,
Kajetan
----------------------------------------------------------------------
Thaddy · 2017-11-06 12:34
Modern browsers prevent websocket from being used over port 80 and
force 443 (https)
They require https for websockets. They also require at least tls 1.2.
Did you configure your program to use these bottom lines?
That IE still works amazes me, because microsoft edge will also do the
above. Are you using a proper IE version? 11+?