I am using delphi 7 and INDY HTTPSERVER. Database is firebird. Environment is multithreaded.
At DESIGN TIME, i created a DATAMODULE that contains a TSESSION (autonaming is ON), queries and stored procedures.
At RUNTIME, how do I replicate that DATAMODULE (created at design time) for EVERY http client access? Do I use the repository? If the datamodule is replicated, will it create NEW UNIQUE TSESSION names and replace the session names on all db components in the newly created datamodule?
Explanation and code will be of help, TY.