1 我用的delphi 2007 + Intraweb11
2 我使用的是 独立的exe+datapool的方式开发
3 我在datamoudle中放了很多的数据库组件、公共变量、函数等,可以用于其它窗体调用。
4 我在UserSessionUnit单元中 定义了一个 公共的数据单元 DM.  procedure TIWUserSession.IWUserSessionBaseCreate(Sender: TObject);
begin
  inherited;
  DM:=TDataModule1.create(nil);
end;5 修改了IWServerController的ComInitialazation=ciMultiThreaded6 错误就是:我无法在别的页面引用数据单元的任何东西,在编译的时候就报错,如
   mytbl:=UserSession.DM.CreateDBTable('RoleList','myRoleListTable');//createdbtable没有定义请高人指点,谢谢