IDEMPIERE-1184 Register browser information available on AD_Session
This commit is contained in:
parent
5fb2a5a329
commit
ba5b760480
|
@ -0,0 +1,13 @@
|
||||||
|
-- Jul 17, 2013 3:14:50 PM COT
|
||||||
|
-- IDEMPIERE-1184 Register browser information available on AD_Session
|
||||||
|
UPDATE AD_Column SET FieldLength=2000,Updated=TO_DATE('2013-07-17 15:14:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54349
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 17, 2013 3:14:55 PM COT
|
||||||
|
-- IDEMPIERE-1184 Register browser information available on AD_Session
|
||||||
|
ALTER TABLE AD_Session MODIFY Description NVARCHAR2(2000) DEFAULT NULL
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201309261730_IDEMPIERE-1184.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
-- Jul 17, 2013 3:14:50 PM COT
|
||||||
|
-- IDEMPIERE-1184 Register browser information available on AD_Session
|
||||||
|
UPDATE AD_Column SET FieldLength=2000,Updated=TO_TIMESTAMP('2013-07-17 15:14:50','YYYY-MM-DD HH24:MI:SS'),UpdatedBy=100 WHERE AD_Column_ID=54349
|
||||||
|
;
|
||||||
|
|
||||||
|
-- Jul 17, 2013 3:14:55 PM COT
|
||||||
|
-- IDEMPIERE-1184 Register browser information available on AD_Session
|
||||||
|
INSERT INTO t_alter_column values('ad_session','Description','VARCHAR(2000)',null,'NULL')
|
||||||
|
;
|
||||||
|
|
||||||
|
SELECT register_migration_script('201309261730_IDEMPIERE-1184.sql') FROM dual
|
||||||
|
;
|
||||||
|
|
|
@ -216,6 +216,10 @@ public class AdempiereWebUI extends Window implements EventListener<Event>, IWeb
|
||||||
|
|
||||||
MSession mSession = MSession.get (ctx, x_Forward_IP!=null ? x_Forward_IP : currSess.getRemoteAddr(),
|
MSession mSession = MSession.get (ctx, x_Forward_IP!=null ? x_Forward_IP : currSess.getRemoteAddr(),
|
||||||
currSess.getRemoteHost(), httpSess.getId() );
|
currSess.getRemoteHost(), httpSess.getId() );
|
||||||
|
if (clientInfo.userAgent != null) {
|
||||||
|
mSession.setDescription(mSession.getDescription() + "\n" + clientInfo.toString());
|
||||||
|
mSession.saveEx();
|
||||||
|
}
|
||||||
|
|
||||||
currSess.setAttribute("Check_AD_User_ID", Env.getAD_User_ID(ctx));
|
currSess.setAttribute("Check_AD_User_ID", Env.getAD_User_ID(ctx));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue