Newsgroups : Borland : borland.public.delphi.internet.winsock : 2006 Mar : TIdHttpServer Session Control Don't Work
| Subject: | TIdHttpServer Session Control Don't Work |
| Posted by: | "Joe Aley" (joealey20..@yahoo.com) |
| Date: | Sat, 4 Mar 2006 00:39:56 |
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.