Flash Recorder Does Not Enable Cookies in Firefox

Hey.

I have a problem when the flash player when starting through firefox does not include HTTP cookies. They turn on when Internet Explorer starts.

I want to know if anyone knows how to get flash to enable cookies when communicating with a flash server?

Background Information

We have a flash recorder that connects to the red5 server. These connections are opened through a load balancer that offers a pool address. There are several servers in the pool.

The registrar sends data using the RTMPT protocol. This sends RMTP over HTTP (this allows you to bypass the firewall). In order to get the data to the correct server, we used cookie-based load balancing. If a specific cookie is present, the load balancer directs the connection to the correct server.

This cookie is set when a user logs in via a web browser. The flash player then includes these cookies in RTMTP-HTTP requests when communicating with the server. This ensures that RMTPT connects to the correct server.

Using a violinist, I grabbed some of the traffic (from IE) to show what I mean:
POST http://hostname/idle/31283773/0 HTTP/1.1
Content-Type: application/x-fcs
User-Agent: Shockwave Flash
Host: host
Content-Length: 1
Connection: Keep-Alive
Pragma: no-cache
Cookie: JSESSIONID=sessionid; target-server=target-server-value

Unfortunately, when using firefox, cookies are not included in the traffic to the server:
POST http://hostname/idle/31283773/0 HTTP/1.1
Content-Type: application/x-fcs
User-Agent: Shockwave Flash
Host: host
Content-Length: 2030
Connection: Keep-Alive
Pragma: no-cache

script javascript/HTML. NetConnection/NetStream .

HTML/javascript, -, , cookie RTMPT- .

- :
1 - - cookie -? IE.
2 - - - , ?

- , - :-)

, , , .

+3
1

, -? , ? Firefox cookie.

, , .

+1

Source: https://habr.com/ru/post/1775234/


All Articles