You are not logged in.
Pages: 1
TFileServer is defined in the unit fileserver.pas
Hi,
i have a service running using the jedi library svcmgr
interface
uses
Windows, Messages, SysUtils, Classes, Graphics, Controls, SvcMgr, Dialogs,
SynCommons, SQLite3Commons, StrUtils, FileServer;
type
TMyService = class(TService)
procedure ServiceStart(Sender: TService; var Started: Boolean);
procedure ServiceStop(Sender: TService; var Stopped: Boolean);
public
function GetServiceController: TServiceController; override;
end;
var
MyService: TMyService;
implementation
procedure ServiceController(CtrlCode: DWord); stdcall;
begin
MyService.Controller(CtrlCode);
end;
function TMyService.GetServiceController: TServiceController;
begin
Result := ServiceController;
end;
procedure TMyService.ServiceStart(Sender: TService; var Started: Boolean);
begin
Server := TFileServer.Create('localhost','8080','c:\mydb.db');
end;
do you think it's a correct implementation of the service or something can go wrong?
tanx
I return after a long time to this question...
i changed the value AUser.AuthUser.GroupRights.SessionTimeout to 1,2,3 but the sessions never expire.
Does the timeout works?
thanx
Thanks ab,
i try the patch and it works.
But i log the sessions deleted after closing the client, but i can't log those deleted by timeout.
How can i do this?
Thanks
I'm building an administration interface for the http service and i want to show the log. But i don't want to read the log file, I would get the server send to the client the last n log rows. Is there a function to do this?
Thanks
How can i log log in/out of users from server?
Thanks for your answer ab
Thanks ab.
it works with iso8601now but with last access it returns an error.
for example lastaccess is 19775435, and iso86now is 135032268700
How can i convert the last access property in date and time?
Tanks
How is possible to patch the code to run the example?
How can i change the default value for the session's timeout?
Pages: 1