Open zhoulinyun opened 5 years ago
Is anybody there ? Is the problem too simple?
What do you mean "delay"? You can use setTimeout in JS for setting cookie after timeout, or just need to include "expires" or "max-age" field to automatically kill the cookie after a specific time
I'm so sorry! It should be the expiration time.Because our web page is hung under another different domain name page, that is, the cookie set by the front-end JS (key= "io") and the cookie (key= "io") obtained by netty-socketio are not under the same domain name, the cookie set by the front-end JS is useless.
Do the back end have to change the netty-socketio source code? I would like to ask if it can be solved by inheriting the netty-socketio source code and so on.
Why don't you let backend send setting cookie request to JS?
Can you set the delay time of session ID stored in cookies?