Delphi中intraweb问题(数据模块)??
请问各位大侠:
我新建一工程(intraweb stand Alone Application With Datamodule)其中Tdatamodule在ServerController单元中自动创建(
constructor TUserSession.Create(AOwner: TComponent);
begin
inherited;
DM := TDM.Create(AOwner);
end;),我将Tdatabase,Tquery组件放在Tdatamodule上。程序运行时(intraweb Exe形式),进行插入记录操作,第一个session用户操作没有问题。关闭浏览器启动第二个Session用户时出现错误,光标停在(DM:=TDM.Create(AOWner)).错误提示:"Name not unique in this Context"或虽然可以启动,但是在插入记录时出现同类错误。
不知是怎一回事?希望大侠给于帮助!小弟在线等候。