Skip to content Skip to sidebar Skip to footer

Server Sent Event And Asp Classic

I made a ASP script with all headers necessary for Server Sent Events. The client side script is working. I tested it with a PHP script and it works fine. The ASP script works and

Solution 1:

Try to use Response.Flush after Response.Write

Edit* Put two enters after the strResponse string: response.Write strResponse & vbCrLf & vbCrLf

Solution 2:

Try This Is Working

Response.Write("data: The server time is: " & now()) & chr(13) & chr(10) & chr(13) & chr(10)

Response.Flush()

Post a Comment for "Server Sent Event And Asp Classic"