Board index » delphi » TIdHttpServer Session Control Don't Work
Joe Aley
![]() Delphi Developer |
TIdHttpServer Session Control Don't Work2006-03-04 11:39:56 AM delphi56 Hi all. Can someone show me a sample of Indy session management? I am unsing Indy 9 and Delphi 7. Have searched a lot and nothing works. Here go some tries: - Dropped TIdHttpServer on a form. Activated the server and the AutoStartSession property. In OnCommandGet event, IdHTTPServer1.SessionList.ComponentCount is zero and ARequestInfo.Session is always nil. - Dropped TIdHttpServer on a form. Activated the server. In OnCommandGet event, tried IdHTTPServer1.CreateSession(AThread,AResponseInfo,ARequestInfo); but ARequestInfo.Session is always nil. Someone could help please? Unfortunatly, any comment about the security of indy's session would be appreciated too. I saw something about authentication on ARequestInfo but have no ideia of using. Thanks. |