#1 2014-11-13 03:37:32

marcoskataoka
Member
Registered: 2014-11-13
Posts: 2

THttpApiServer with session

There are any exemple using THttpApiServer with sessions?

Offline

#2 2014-11-13 08:30:09

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: THttpApiServer with session

What do you call "session"?

If this is a cookie-based web session, see sample 30.

If this is a SOA-based session, just create a sicClientDriven kind of interface.
And see the corresponding code in SynSelfTest.pas.

Offline

#3 2014-11-14 03:44:22

marcoskataoka
Member
Registered: 2014-11-13
Posts: 2

Re: THttpApiServer with session

Yes, cookie-based web session. I could not understand how the cookie works in sample 30. I was doing well with the sample 09, can you guide me how to use the session in this sample?

Offline

#4 2014-11-14 07:27:52

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,661
Website

Re: THttpApiServer with session

Offline

Board footer

Powered by FluxBB