Search the Community
Showing results for tags 'variaveis globais'.
-
Good afternoon! I developed an entire system in standalone mode (exe), and configuring it to work on IIS works perfectly, however, I changed it here to generate DLL, which instead of IIS creating a connection for each EXE, it will use the sessions of IIS itself. , but now, the variables were shared between users. I created a DataModule only to store specific variables and functions, but I encountered this problem when using DLL (CGI) in IIS. What would be the recommendation for this not to happen?
-
criei em main module Tfunc = record codigo : integer; nome : string[100]; empresa : integer; filial : integer; plantao : Integer; Plantonista: integer; dizimista : integer; adm : string[1]; nomeusu : string[30] end; var Func : TFunc quando uso as variaveis nome, por exemplo func.nome quando loga em um computador e depois loga de novo no outro computador com outro usuario na tela de login ele armazena o nome do usuario. ai vou utilizar estas variaveis em outro form, ele fica com o usuario que entrou por ultimo, ou seja para cada sessao que ele abriu ele nao tem sua variavel indepente? como posso fazer isso?