可以使用自带的LoginForm,也可以使用Form
UniGUI 设置超时
设置:
AjaxTimeOut,建议60000
SessionTimeOut,建议900000
从ASP网站登录到UniGUI中
提交 获取: UniApplication.Parameters.Values[‘UserName’] UniApplication.Parameters.Values[‘UserPwd’]- UniGUI数据库初始化要放到MainModule里
数据库初始化要放到MainModule里,不可以放到ServerModule,否则,不同用户用同一个数据库连接,操作会相互干扰。
UniServerModule的AutoCoInitialize属性设置为True
MessageDlg(‘真的要删除此记录吗?’, mtConfirmation, mbYesNo,
procedure(Res: Integer)
begin
if Res=mrYes then
begin
end;
end
);
- UniGUI Cookies
//保存密码
if chkSavePWD.Checked then
begin
UniA