B4J Question How to add cookies in a ws thread?

billzhan

Active Member
Licensed User
Longtime User
Hi,

In B4J server filter and handler threads, I can add cookie

B4X:
    Dim addcookie As Cookie
    addcookie.Initialize("key","value")
    resp.addcookie(addcookie)

In websocket thread, I am using jquery.cookie plugin on the client side to add cookie. Is it possible to make it on the server side?


Thanks,
bz
 
Top