You are not logged in.
Pages: 1
How to manage cookies with Synopse WinHTTP ? Is there something like TIdCookieManager for WinHTTP?
Offline
There is no direct cookie support yet.
In fact, in a RESTful world, cookies do not exist... they are implementation details of HTTP.
So mORMot does not rely on them.
In the framework, cookies are handled at higher level, only for the server, i.e. with TSQLRestServerURIContext.InCookie[] and TSQLRestServerURIContext.OutSetCookie properties.
You can find in TSQLRestServerURIContext some code to start with.
But it is for the server side, not for clients (WinHttp).
Offline
Ofcourse you can manipulate cookies! The problem is SynCrt didn't implement it... sadly.
Will need to make my own wrapper.
Offline
Pages: 1